CI/CD
This commit is contained in:
parent
d1f80b61da
commit
77bbdc8260
|
@ -7,7 +7,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
- run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY .
|
||||||
- run: hugo
|
- run: hugo
|
||||||
- name: set up SSH
|
- name: Set up SSH
|
||||||
run: |
|
run: |
|
||||||
mkdir -p $HOME/.ssh
|
mkdir -p $HOME/.ssh
|
||||||
cp .gitea/workflows/known_hosts $HOME/.ssh
|
cp .gitea/workflows/known_hosts $HOME/.ssh
|
||||||
|
@ -15,6 +15,10 @@ jobs:
|
||||||
${{ secrets.SSH_PUBLISH_PRIVATE_KEY }}
|
${{ secrets.SSH_PUBLISH_PRIVATE_KEY }}
|
||||||
EOD
|
EOD
|
||||||
md5sum $HOME/.ssh/id_rsa
|
md5sum $HOME/.ssh/id_rsa
|
||||||
|
nevermind:
|
||||||
|
runs-on:
|
||||||
|
- hugo
|
||||||
|
steps:
|
||||||
- name: rsync
|
- name: rsync
|
||||||
run: |
|
run: |
|
||||||
ssh-agent rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
|
echo ssh-agent rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/
|
||||||
|
|
Loading…
Reference in New Issue