Skip to content

Commit

Permalink
temporarily change deploy CI job to test Hotjar in staging environment
Browse files Browse the repository at this point in the history
  • Loading branch information
DiogoSoaress committed Aug 28, 2023
1 parent 9b920e8 commit 3e83020
Showing 1 changed file with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on:

push:
branches:
- dev
- main
- add-hotjar-script

jobs:
deploy:
Expand Down Expand Up @@ -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!

0 comments on commit 3e83020

Please sign in to comment.