Compare commits

..

1 commit

View file

@ -2,7 +2,6 @@ on:
push: push:
branches: branches:
- main - main
- add_ci
jobs: jobs:
build: build:
@ -31,6 +30,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' || github.ref_name == 'add_ci') if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref_name == 'main'
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/