Merge pull request #1983 from gnosis/release/v3.1.0
Fix staging deployment
This commit is contained in:
commit
01e76fe771
|
@ -111,7 +111,7 @@ jobs:
|
|||
# Script to deploy to staging environment
|
||||
- name: 'Deploy to S3: Staging'
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: aws s3 sync build s3://${{ secrets.STAGING_BUCKET_NAME }}/current/app --delete
|
||||
run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete
|
||||
|
||||
# Script to upload release files
|
||||
- run: bash ./scripts/github/deploy_release.sh
|
||||
|
|
|
@ -92,7 +92,7 @@ jobs:
|
|||
# Script to deploy to staging environment
|
||||
- name: 'Deploy to S3: Staging'
|
||||
if: github.ref == 'refs/heads/master' # Or refs/heads/main
|
||||
run: aws s3 sync build s3://${{ secrets.STAGING_BUCKET_NAME }}/current/app --delete
|
||||
run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete
|
||||
|
||||
# Script to upload release files
|
||||
- run: bash ./scripts/github/deploy_release.sh
|
||||
|
|
|
@ -118,7 +118,7 @@ jobs:
|
|||
# Script to deploy to staging environment
|
||||
- name: 'Deploy to S3: Staging'
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: aws s3 sync build s3://${{ secrets.STAGING_BUCKET_NAME }}/current/app --delete
|
||||
run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete
|
||||
|
||||
# Script to upload release files
|
||||
- run: bash ./scripts/github/deploy_release.sh
|
||||
|
|
|
@ -115,7 +115,7 @@ jobs:
|
|||
# Script to deploy to staging environment
|
||||
- name: 'Deploy to S3: Staging'
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: aws s3 sync build s3://${{ secrets.STAGING_BUCKET_NAME }}/current/app --delete
|
||||
run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete
|
||||
|
||||
# Script to upload release files
|
||||
- run: bash ./scripts/github/deploy_release.sh
|
||||
|
|
|
@ -114,7 +114,7 @@ jobs:
|
|||
# Script to deploy to staging environment
|
||||
- name: 'Deploy to S3: Staging'
|
||||
if: github.ref == 'refs/heads/master'
|
||||
run: aws s3 sync build s3://${{ secrets.STAGING_BUCKET_NAME }}/current/app --delete
|
||||
run: aws s3 sync build s3://${{ env.STAGING_BUCKET_NAME }}/current/app --delete
|
||||
|
||||
# Script to upload release files
|
||||
- run: bash ./scripts/github/deploy_release.sh
|
||||
|
|
Loading…
Reference in New Issue