Skip to content

Commit

Permalink
Use app on merge to master.
Browse files Browse the repository at this point in the history
  • Loading branch information
lauravuo committed Mar 26, 2024
1 parent a3c0bc6 commit 57d5e45
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,17 @@ jobs:
needs: deploy
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.AGENCY_RELEASER_ID }}
private-key: ${{ secrets.AGENCY_RELEASER_KEY }}
- name: checkout
uses: actions/checkout@v4
with:
ref: master
token: ${{ steps.generate_token.outputs.token }}
- name: merge
run: |
git fetch --tags origin
Expand Down

0 comments on commit 57d5e45

Please sign in to comment.