Skip to content

Set env for working admin challs #13

Set env for working admin challs

Set env for working admin challs #13

Workflow file for this run

name: Deploy to vercel on merge
on:
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- 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 }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-args: '--prod'
vercel-org-id: ${{ secrets.ORG_ID}}
vercel-project-id: ${{ secrets.PROJECT_ID}}
github-comment: false