Project initialised with AlgoKit CLI using template: https://github.com/algorandfoundation/algokit-fullstack-template.git
This commit is contained in:
37
.github/workflows/tokenizerwatemplate-frontend-cd.yaml
vendored
Normal file
37
.github/workflows/tokenizerwatemplate-frontend-cd.yaml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: Release TokenizeRWATemplate-frontend
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
permissions:
|
||||
contents: read
|
||||
packages: read
|
||||
|
||||
jobs:
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
name: Deploy to Vercel
|
||||
environment: frontend-prod
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- name: Install algokit
|
||||
run: pipx install algokit
|
||||
|
||||
- name: Bootstrap dependencies
|
||||
run: algokit project bootstrap all --project-name 'TokenizeRWATemplate-frontend'
|
||||
|
||||
- name: Publish to Vercel
|
||||
env:
|
||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
||||
run: algokit project run ci-deploy-vercel
|
||||
|
||||
Reference in New Issue
Block a user