Skip to content

Commit

Permalink
test frontend build
Browse files Browse the repository at this point in the history
  • Loading branch information
jdbass committed Apr 1, 2024
1 parent b5eb51c commit 12973a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-frontend.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
aws-region: ${{inputs.aws_region}}

- name: Deploy Frontend
run: aws s3 sync frontend/dist s3://${{inputs.bucket}}
run: aws s3 sync frontend s3://${{inputs.bucket}} --delete
2 changes: 1 addition & 1 deletion .github/workflows/primary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:

deploy-frontend:
needs: detect-changes
if: github.ref == 'refs/heads/main' && needs.detect-changes.outputs.run-frontend == 'true'
if: github.ref != 'refs/heads/main' && needs.detect-changes.outputs.run-frontend == 'true'
uses: ./.github/workflows/deploy-frontend.yaml
with:
aws_region: us-east-1
Expand Down

0 comments on commit 12973a3

Please sign in to comment.