File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -60,11 +60,13 @@ jobs:
6060 if : ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
6161 run : gsutil -h "Cache-Control:public, max-age=60" cp -r packages/tdb-dashboard/dist/* "gs://${{ secrets.GCLOUD_BUCKET }}/"
6262 - name : Upload tdb-dashboard to dev s3
63+ if : ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/main' }}
6364 env :
6465 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
6566 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
6667 run : aws s3 sync packages/tdb-dashboard/dist/ s3://${{ secrets.S3_DEV_BUCKET }} --region=${{ secrets.AWS_REGION }}
6768 - name : Upload tdb-dashboard to prod s3
69+ if : ${{ github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v') }}
6870 env :
6971 AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
7072 AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
You can’t perform that action at this time.
0 commit comments