diff --git a/.github/workflows/prod_manual_deploy.yml b/.github/workflows/prod_manual_deploy.yml index fb400b5..c54062a 100644 --- a/.github/workflows/prod_manual_deploy.yml +++ b/.github/workflows/prod_manual_deploy.yml @@ -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