From 3e830203a3817d25ac50892603a346c1c92dfdad Mon Sep 17 00:00:00 2001 From: Diogo Soares Date: Mon, 28 Aug 2023 19:42:32 +0200 Subject: [PATCH] temporarily change `deploy` CI job to test Hotjar in staging environment --- .github/workflows/deploy.yml | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) 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!