Use correct staging directory
All checks were successful
/ build (push) Successful in 11s

This commit is contained in:
Stefan Bethke 2024-10-13 13:13:52 +02:00
parent 0da4340001
commit 5bd94a6a09

View file

@ -51,7 +51,7 @@ jobs:
if: github.event_name == 'pull_request' if: github.event_name == 'pull_request'
run: | run: |
echo "Deploying to staging.hamburg.ccc.de/pr${{ github.event.pull_request.number }}" echo "Deploying to staging.hamburg.ccc.de/pr${{ github.event.pull_request.number }}"
rsync -v -r --delete -e "ssh -i deploykey.priv -o 'UserKnownHostsFile ./known_hosts'" public/ ht-ccchh-website-deploy@public-web-static-intern.hamburg.ccc.de:/var/www/staging.hacker.tours/pr${{ github.event.pull_request.number }}/ rsync -v -r --delete -e "ssh -i deploykey.priv -o 'UserKnownHostsFile ./known_hosts'" public/ ht-ccchh-website-deploy@public-web-static-intern.hamburg.ccc.de:/var/www/staging.hackertours.hamburg.ccc.de/pr${{ github.event.pull_request.number }}/
- name: Deploy - Add comment to PR with staging URL - name: Deploy - Add comment to PR with staging URL
if: github.event_name == 'pull_request' && github.event.action == 'opened' if: github.event_name == 'pull_request' && github.event.action == 'opened'
run: | run: |