Skip to content

Commit

Permalink
use app token
Browse files Browse the repository at this point in the history
  • Loading branch information
jfredrickson authored Mar 7, 2024
1 parent 6f25426 commit 744af50
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,15 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/create-github-app-token@v1
id: appToken
with:
app-id: ${{ vars.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
ref: main
token: ${{ steps.appToken.outputs.token }}
- uses: actions/setup-node@v3
with:
node-version: "18"
Expand Down

0 comments on commit 744af50

Please sign in to comment.