File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ jobs:
5959 name : reports
6060 path : reports/
6161 - run : npm run deploy
62- if : github.repository_owner == 'microbit-foundation'
62+ if : github.repository_owner == 'microbit-foundation' && (env.STAGE == 'REVIEW' || success())
6363 env :
6464 AWS_ACCESS_KEY_ID : ${{ secrets.WEB_DEPLOY_AWS_ACCESS_KEY_ID }}
6565 AWS_SECRET_ACCESS_KEY : ${{ secrets.WEB_DEPLOY_AWS_SECRET_ACCESS_KEY }}
6666 - run : npm run invalidate
67- if : github.repository_owner == 'microbit-foundation'
67+ if : github.repository_owner == 'microbit-foundation' && (env.STAGE == 'REVIEW' || success())
6868 env :
6969 AWS_ACCESS_KEY_ID : ${{ secrets.WEB_DEPLOY_AWS_ACCESS_KEY_ID }}
7070 AWS_SECRET_ACCESS_KEY : ${{ secrets.WEB_DEPLOY_AWS_SECRET_ACCESS_KEY }}
You can’t perform that action at this time.
0 commit comments