Skip to content

Commit

Permalink
Bump checkout, set admin env
Browse files Browse the repository at this point in the history
  • Loading branch information
ky28059 committed Nov 9, 2024
1 parent eba14c4 commit 5b8b22b
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/vercel-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dkershner6/vercel-set-env-action@v3
with:
token: ${{ secrets.VERCEL_TOKEN }}
teamId: ${{ secrets.ORG_ID }}
projectName: internal-ctf
envVariableKeys: ADMIN_TOKEN
env:
ADMIN_TOKEN: ${{ secrets.ADMIN_TOKEN }}
TARGET_ADMIN_TOKEN: preview,development,production
TYPE_ADMIN_TOKEN: encrypted

- uses: amondnet/vercel-action@v20
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/vercel-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,18 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: dkershner6/vercel-set-env-action@v3
with:
token: ${{ secrets.VERCEL_TOKEN }}
teamId: ${{ secrets.ORG_ID }}
projectName: internal-ctf
envVariableKeys: ADMIN_TOKEN
env:
ADMIN_TOKEN: ${{ secrets.ADMIN_TOKEN }}
TARGET_ADMIN_TOKEN: preview,development,production
TYPE_ADMIN_TOKEN: encrypted

- uses: amondnet/vercel-action@v20
id: vercel-deploy
with:
Expand Down

0 comments on commit 5b8b22b

Please sign in to comment.