Update production workflow
This commit is contained in:
parent
d27dc30a10
commit
0a50d42461
@ -12,8 +12,16 @@ jobs:
|
||||
image: node:22-bullseye
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: true
|
||||
- name: install ssh key
|
||||
env:
|
||||
run: |
|
||||
install -m 600 -D /dev/null theme-deploy-key
|
||||
echo "${{ secrets.THEME_DEPLOY_KEY }}" | base64 --decode > 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