Skip to content

Merge pull request #124 from protokol/feat/credentialOffer #3

Merge pull request #124 from protokol/feat/credentialOffer

Merge pull request #124 from protokol/feat/credentialOffer #3

Workflow file for this run

# .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 }}