Skip to content

Commit

Permalink
add pinata JWT secret to github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
iskysun96 committed Jan 22, 2024
1 parent d32f793 commit d16ef17
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ on:
branches:
- main
paths-ignore:
- "docs/**"
- "**.md"
- ".vscode/**"
- ".idea/**"
- 'docs/**'
- '**.md'
- '.vscode/**'
- '.idea/**'

permissions:
contents: read
Expand All @@ -23,13 +23,13 @@ jobs:
runs-on: ubuntu-latest
name: Deploy to Vercel
environment: Prod
concurrency: "${{ github.workflow }}-prod"
concurrency: '${{ github.workflow }}-prod'
needs:
- lint-and-build
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Install Vercel CLI
run: npm install --global vercel@latest

Expand Down Expand Up @@ -59,8 +59,8 @@ jobs:
VITE_INDEXER_PORT:${{ vars.VITE_INDEXER_PORT }}
VITE_INDEXER_TOKEN:${{ secrets.VITE_INDEXER_TOKEN }}
VITE_ENVIRONMENT:${{ vars.VITE_ENVIRONMENT }}
VITE_PINATA_JWT:${{ secrets.VITE_PINATA_JWT }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
# Set your vercel project env variables on your site instance on https://vercel.com/dashboard

0 comments on commit d16ef17

Please sign in to comment.