Fix GA4 loading to respect Cookiebot consent settings #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# GitHub Action to deploy WebPerformance Report Static Site on preview | |
name: Deploy Preview | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
deploy-preview: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Execute remote SSH commands using SSH key | |
uses: appleboy/ssh-action@master | |
with: | |
host: ${{ secrets.SSH_HOST_DEV_SERVER }} | |
username: ${{ secrets.SSH_USERNAME_DEV_SERVER }} | |
key: ${{ secrets.SSH_PRIVATE_KEY_DEV_SERVER }} | |
script: | | |
# Navigate to the project directory | |
cd /var/www/vhosts/webperformancereport.com/preview.webperformancereport.com/ | |
# Pull the latest code | |
git status | |
git add . | |
git stash | |
git pull https://${{ secrets.SSH_GIT_TOKEN }}@github.com/WebPerformanceReport/wpr-static-site.git dev | |