Skip to content

Commit

Permalink
Moved CD for deploy statement into the commands
Browse files Browse the repository at this point in the history
  • Loading branch information
ncgreene committed Oct 13, 2023
1 parent b9e5f8d commit 9043e04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ jobs:
run: pnpm install

- name: Deploy app
run: cd ${{ env.PACKAGE_LOCATION }} && |
url="$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})"
vercel alias --token=${{ secrets.VERCEL_TOKEN }} set "$url" ${{ github.event.inputs.environment }}.ottehr.com
run: |
url="$(cd ${{ env.PACKAGE_LOCATION }} && vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }})"
cd ${{ env.PACKAGE_LOCATION }} && vercel alias --token=${{ secrets.VERCEL_TOKEN }} set "$url" ${{ github.event.inputs.environment }}.ottehr.com
- name: Setup zapehr secrets
run: cd ${{ env.ZAMBDAS_LOCATION }} && pnpm run setup-zapehr-secrets ${{ github.event.inputs.environment }}
- name: Deploy zambdas
Expand Down

0 comments on commit 9043e04

Please sign in to comment.