CI/CD
This commit is contained in:
parent
bf5f3f5d0d
commit
64778580b3
|
@ -7,7 +7,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
- run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
||||||
- run: hugo
|
- run: hugo
|
||||||
- run: mkdir -p $HOME/.ssh
|
- name: set up SSH
|
||||||
- run: cp .gitea/workflows/known_hosts $HOME/.ssh
|
run: |
|
||||||
- run: umask 077; echo ${{ secrets.SSH_PUBLISH_PRIVATE_KEY_BASE64 }} | base64 -d > $HOME/id_rsa
|
mkdir -p $HOME/.ssh
|
||||||
- run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
|
cp .gitea/workflows/known_hosts $HOME/.ssh
|
||||||
|
umask 077; echo ${{ secrets.SSH_PUBLISH_PRIVATE_KEY_BASE64 }} | base64 -d > $HOME/id_rsa
|
||||||
|
- name: rsync
|
||||||
|
run: |
|
||||||
|
ssh-agent rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
|
||||||
|
|
Loading…
Reference in New Issue