Bump version to 0.0.2 in package.json #1
Workflow file for this run
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
name: Vercel deploy | |
on: | |
push: | |
branches: | |
- main | |
- vercel-deploy # for initial test | |
paths: | |
# only run workflow when changes are made to these files | |
- gui/package.json | |
# manual trigger | |
workflow_dispatch: | |
jobs: | |
vercel-deploy: | |
name: Vercel deploy | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- | |
name: Install Vercel CLI | |
run: npm install --global vercel@latest | |
- | |
name: Create .vercel/project.json | |
run: | | |
mkdir -p .vercel | |
echo '{"projectId":"${{ secrets.VERCEL_PROJECT_ID }}", "orgId":"${{ secrets.VERCEL_ORG_ID }}"}' > .vercel/project.json | |
- | |
name: Pull Vercel Environment Information | |
run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} | |
- | |
name: Build Project Artifacts | |
run: vercel --prod --token=${{ secrets.VERCEL_TOKEN }} | |