This commit is contained in:
parent
46f894adb3
commit
1252c4c1f7
1 changed files with 5 additions and 1 deletions
|
@ -15,6 +15,10 @@ jobs:
|
||||||
apt-get install -y hugo rsync openssh-client nodejs
|
apt-get install -y hugo rsync openssh-client nodejs
|
||||||
- name: Clone repository
|
- name: Clone repository
|
||||||
uses: https://gitea.com/actions/checkout@v4
|
uses: https://gitea.com/actions/checkout@v4
|
||||||
|
- name: Initialize submodules
|
||||||
|
run: |
|
||||||
|
git submodule init
|
||||||
|
git submodule update
|
||||||
- name: Setup SSH
|
- name: Setup SSH
|
||||||
env:
|
env:
|
||||||
SSH_KEY: ${{ secrets.ssh_key }}
|
SSH_KEY: ${{ secrets.ssh_key }}
|
||||||
|
@ -24,7 +28,7 @@ jobs:
|
||||||
chmod 0700 ~/.ssh
|
chmod 0700 ~/.ssh
|
||||||
chmod 0700 ~/.ssh/id_rsa
|
chmod 0700 ~/.ssh/id_rsa
|
||||||
- name: Run Hugo
|
- name: Run Hugo
|
||||||
run: /usr/bin/hugo --verbose
|
run: /usr/bin/hugo --logLevel info
|
||||||
- name: Run rsync
|
- name: Run rsync
|
||||||
env:
|
env:
|
||||||
SSH_PORT: ${{ secrets.ssh_port }}
|
SSH_PORT: ${{ secrets.ssh_port }}
|
||||||
|
|
Loading…
Reference in a new issue