Skip to content

Commit

Permalink
adding prod_manual_deploy.yml for manual deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
atif committed Dec 31, 2024
1 parent eb5e24e commit cc6f9df
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/prod_manual_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,14 @@ jobs:
aws-secret-access-key: ${{ secrets.PROD_AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.PROD_AWS_DEFAULT_REGION }}

# Script to deploy to development environment
- name: 'Deploy to S3: Development'
working-directory: ./website
if: github.ref == 'refs/heads/dev'
run: |
aws s3 sync build/gnosis-docs s3://${{ secrets.DEV_BUCKET_NAME }}/dev/conditionaltokens --exclude "*.html" --cache-control max-age=0,no-cache,no-store,public
aws s3 sync build/gnosis-docs s3://${{ secrets.DEV_BUCKET_NAME }}/dev --exclude "*" --include "*.html" --cache-control max-age=0,no-cache,no-store,must-revalidate --content-type text/html
# Script to deploy to release environment
- name: 'Deploy to S3: Release'
working-directory: ./website
Expand Down

0 comments on commit cc6f9df

Please sign in to comment.