Skip to content

Commit

Permalink
Remove dispatch job from docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
waybackarchiver committed Dec 1, 2022
1 parent f5b2405 commit b687fd3
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -307,27 +307,3 @@ jobs:
name: wayback
path: ./dist/*
if-no-files-found: error

dispatch:
if: github.repository == 'wabarc/wayback'
name: Repository Dispatch
runs-on: ubuntu-latest
needs: [publish]
steps:
- name: Dispatch repository in wabarc/on-heroku (release)
uses: peter-evans/repository-dispatch@11ba7d3f32dc7cc919d1c43f1fec1c05260c26b5 # v2.0.0
if: startsWith(github.ref, 'refs/tags/v')
with:
repository: wabarc/on-heroku
event-type: deploy
token: ${{ secrets.PAT_WORKFLOW }}
client-payload: '{"from": "${{ github.repository }}", "channel": "stable"}'

- name: Dispatch repository in wabarc/on-heroku (testing)
uses: peter-evans/repository-dispatch@11ba7d3f32dc7cc919d1c43f1fec1c05260c26b5 # v2.0.0
if: ${{ github.event_name == 'push' }}
with:
repository: wabarc/on-heroku
event-type: deploy
token: ${{ secrets.PAT_WORKFLOW }}
client-payload: '{"from": "${{ github.repository }}", "channel": "edge"}'

0 comments on commit b687fd3

Please sign in to comment.