Skip to content

Commit

Permalink
dispatch?
Browse files Browse the repository at this point in the history
  • Loading branch information
Myrdrahl committed Aug 29, 2023
1 parent a522343 commit c74209d
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,15 @@ jobs:
env:
REPO_KEY: ${{secrets.PUSH_TOKEN}}
USERNAME: github-actions[bot]
- uses: actions/github-script@v6
name: Fyrer NiN
with:
github-token: ${{ secrets.PAT }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'artsdatabanken',
repo: 'nin-data-lastejobb',
workflow_id: 'deploy.yml',
ref: 'master'
})
dispatch:
- uses: actions/github-script@v6
name: Fyrer NiN
with:
github-token: ${{ secrets.PAT }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'artsdatabanken',
repo: 'nin-data-lastejobb',
workflow_id: 'deploy.yml',
ref: 'master'
})

0 comments on commit c74209d

Please sign in to comment.