Skip to content

Commit

Permalink
feat: fix pipeline branch
Browse files Browse the repository at this point in the history
  • Loading branch information
thethiago27 committed Sep 14, 2023
1 parent bafcdd3 commit 3e40ed3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy_env.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Deploy Environment To Vercel
run: vercel secrets add DATABASE_URL ${{ secrets.PRODUCTION_DATABASE_URL }} --token=${{ secrets.VERCEL_TOKEN }}
/ vercel secrets add JWT_SECRET ${{ secrets.JWT_SECRET }} --token=${{ secrets.VERCEL_TOKEN }}
/ vercel secrets add NEXT_PUBLIC_FIREBASE_API_KEY ${{ secrets.FIREBASE_API_KEY }} --token=${{ secrets.VERCEL_TOKEN }}
/ vercel secrets add NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN ${{ secrets.FIREBASE_AUTH_DOMAIN }} --token=${{ secrets.VERCEL_TOKEN }}
/ vercel secrets add NEXT_PUBLIC_FIREBASE_PROJECT_ID ${{ secrets.FIREBASE_PROJECT_ID }} --token=${{ secrets.VERCEL_TOKEN }}
/ vercel secrets add NEXT_PUBLIC_FIREBASE_APP_ID ${{ secrets.FIREBASE_APP_ID }} --token=${{ secrets.VERCEL_TOKEN }}
run: vercel secrets add DATABASE_URL ${{ secrets.PRODUCTION_DATABASE_URL }} --token=${{ secrets.VERCEL_TOKEN }}
/ vercel secrets add JWT_SECRET ${{ secrets.JWT_SECRET }} --token=${{ secrets.VERCEL_TOKEN }}
/ vercel secrets add NEXT_PUBLIC_FIREBASE_API_KEY ${{ secrets.FIREBASE_API_KEY }} --token=${{ secrets.VERCEL_TOKEN }}
/ vercel secrets add NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN ${{ secrets.FIREBASE_AUTH_DOMAIN }} --token=${{ secrets.VERCEL_TOKEN }}
/ vercel secrets add NEXT_PUBLIC_FIREBASE_PROJECT_ID ${{ secrets.FIREBASE_PROJECT_ID }} --token=${{ secrets.VERCEL_TOKEN }}
/ vercel secrets add NEXT_PUBLIC_FIREBASE_APP_ID ${{ secrets.FIREBASE_APP_ID }} --token=${{ secrets.VERCEL_TOKEN }}
10 changes: 0 additions & 10 deletions .github/workflows/prisma_migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Setup Environment
Expand Down

0 comments on commit 3e40ed3

Please sign in to comment.