testing: also upload on add_ci
All checks were successful
/ build (push) Successful in 9s

This commit is contained in:
June 2025-02-12 18:45:57 +01:00
commit 96e75eb3b2
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -31,6 +31,6 @@ jobs:
echo "${{ secrets.SSH_KNOWN_HOSTS_FILE }}" > ./known_hosts echo "${{ secrets.SSH_KNOWN_HOSTS_FILE }}" > ./known_hosts
- name: Upload styleguide - name: Upload styleguide
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref_name == 'main' if: (github.event_name == 'push' || github.event_name == 'schedule') && (github.ref_name == 'main' || github.ref_name == 'add_ci')
run: | run: |
rsync -v -r --delete -e "ssh -i deploykey.priv -o 'UserKnownHostsFile ./known_hosts'" styleguide/ eh22-styleguide-deploy@eh22-wiki-intern.hamburg.ccc.de:/var/www/eh22-styleguide/ rsync -v -r --delete -e "ssh -i deploykey.priv -o 'UserKnownHostsFile ./known_hosts'" styleguide/ eh22-styleguide-deploy@eh22-wiki-intern.hamburg.ccc.de:/var/www/eh22-styleguide/