Skip to content

Commit

Permalink
fix tag name check in dev ui ci prod deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmv08 committed May 12, 2021
1 parent b7c606a commit b514879
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/devui-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,11 @@ jobs:
run: aws s3 sync packages/safe-apps-developer-ui/build s3://${{ secrets.AWS_STAGING_BUCKET_NAME }}/current/safe-apps-developer-ui --delete

- name: 'Prepare safe-apps-developer-ui for deploy to Production'
if: startsWith(github.ref, 'refs/tags/v')
if: startsWith(github.ref, 'refs/tags/dev-ui')
run: aws s3 sync packages/safe-apps-developer-ui/build s3://${{ env.STAGING_BUCKET_NAME }}/releases/${{ github.event.release.tag_name }}/safe-apps-developer-ui --delete

- name: 'Production deployment: Enable production deployment'
if: success() && startsWith(github.ref, 'refs/tags/v')
if: success() && startsWith(github.ref, 'refs/tags/dev-ui')
run: bash .github/scripts/prepare_production_deployment.sh
env:
PROD_DEPLOYMENT_HOOK_TOKEN: ${{ secrets.PROD_DEPLOYMENT_HOOK_TOKEN }}
Expand Down

0 comments on commit b514879

Please sign in to comment.