Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-bach committed Jun 9, 2024
1 parent 32255fb commit 181d2e5
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,21 +47,21 @@ jobs:
- name: πŸ“₯ Install Backend and Sources
uses: ./.github/actions/backend

- name: πŸ“₯ Install Frontend
uses: ./.github/actions/frontend
# - name: πŸ“₯ Install Frontend
# uses: ./.github/actions/frontend

# - name: πŸ—’οΈ Create Frontend .env
# run: |
# touch .env
# echo NEXT_PUBLIC_USER_POOL_ID=${{ secrets.USER_POOL_ID }} >> .env
# echo NEXT_PUBLIC_USER_POOL_CLIENT_ID=${{ secrets.USER_POOL_CLIENT_ID }} >> .env
# echo NEXT_PUBLIC_APPSYNC_API_ENDPOINT=${{ secrets.APPSYNC_API_ENDPOINT }} >> .env
# echo NEXT_PUBLIC_APPSYNC_REGION=${{ secrets.REGION }} >> .env
# working-directory: frontend

- name: πŸ—’οΈ Create Frontend .env
run: |
touch .env
echo NEXT_PUBLIC_USER_POOL_ID=${{ secrets.USER_POOL_ID }} >> .env
echo NEXT_PUBLIC_USER_POOL_CLIENT_ID=${{ secrets.USER_POOL_CLIENT_ID }} >> .env
echo NEXT_PUBLIC_APPSYNC_API_ENDPOINT=${{ secrets.APPSYNC_API_ENDPOINT }} >> .env
echo NEXT_PUBLIC_APPSYNC_REGION=${{ secrets.REGION }} >> .env
working-directory: frontend

- name: πŸ— Build Frontend
run: npm run build-frontend
working-directory: infrastructure
# - name: πŸ— Build Frontend
# run: npm run build-frontend
# working-directory: infrastructure

- name: πŸ—’οΈ Create Infrastructure .env
run: |
Expand Down

0 comments on commit 181d2e5

Please sign in to comment.