CI/CD
This commit is contained in:
parent
59055735e5
commit
c7fa910d21
|
@ -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