CI/CD
This commit is contained in:
parent
76d32348ee
commit
9cd9ee1c94
|
@ -5,11 +5,9 @@ jobs:
|
||||||
runs-on:
|
runs-on:
|
||||||
- hugo
|
- hugo
|
||||||
steps:
|
steps:
|
||||||
- name: Check out source
|
- run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
||||||
run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
- run: hugo
|
||||||
- name: Build
|
- run: mkdir -p $HOME/.ssh
|
||||||
run: hugo
|
- run: cp .gitea/workflows/known_hosts $HOME/.ssh
|
||||||
- name: Set up SSH
|
- run: umask 077; echo ${{ secrets.SSH_PUBLISH_PRIVATE_KEY }} > $HOME/id_rsa
|
||||||
run: mkdir -p $HOME/.ssh && cp .gitea/workflows/known_hosts $HOME/.ssh
|
- run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
|
||||||
- name: Publish
|
|
||||||
run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
|
|
||||||
|
|
Loading…
Reference in New Issue