diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 37bbd0471..4a2dfba26 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -5,8 +5,8 @@ on: push: branches: - - dev - main + - add-hotjar-script jobs: deploy: @@ -42,25 +42,3 @@ jobs: env: BUCKET: s3://${{ secrets.AWS_STAGING_BUCKET_NAME }}/current run: bash ./scripts/github/s3_upload.sh - - # Deploy all other branches to dev - - name: Deploy to the dev S3 - if: github.ref != 'refs/heads/main' - env: - BUCKET: s3://${{ secrets.AWS_DEVELOPMENT_BUCKET_NAME }} - run: bash ./scripts/github/s3_upload.sh - - # Comment - - name: Post a deployment link in the PR - if: always() && github.event.number - uses: mshick/add-pr-comment@v2 - with: - message-id: praul - message: | - ## Branch preview - ✅ Deployed to dev: - - https://safe-web-landing.dev.5afe.dev - message-failure: | - ## Branch preview - ❌ Deploy failed!