Merge pull request #124 from protokol/feat/credentialOffer #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .github/workflows/frontend.yml | |
name: Frontend Deployment | |
on: | |
push: | |
paths: | |
- "apps/frontend/**" | |
branches: | |
- master | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
jobs: | |
production: | |
runs-on: ubuntu-latest | |
timeout-minutes: 12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Deploy to Vercel (Production) | |
uses: amondnet/[email protected] | |
with: | |
vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
vercel-args: "--force --prod" | |
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} | |
preview: | |
if: github.ref != 'refs/heads/master' | |
runs-on: ubuntu-latest | |
timeout-minutes: 12 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Deploy to Vercel (Preview) | |
uses: amondnet/[email protected] | |
with: | |
vercel-token: ${{ secrets.VERCEL_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
vercel-args: "--force" | |
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} | |
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} |