This commit is contained in:
parent
99eb7e5ee7
commit
7c766820cb
@ -12,9 +12,15 @@ jobs:
|
||||
image: node:22-bullseye
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ssh-key: ${{ secrets.THEME_DEPLOY_KEY }}
|
||||
submodules: true
|
||||
- name: setup submoule deploy key
|
||||
env:
|
||||
KEY: ${{ secrets.THEME_DEPLOY_KEY }}
|
||||
run: echo $KEY > theme-deploy-key
|
||||
|
||||
- name: init submodules
|
||||
env:
|
||||
GIT_SSH_COMMAND: ssh -i theme-deploy-key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no
|
||||
run: git submodule update --init
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v3
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user