Fix action
Some checks failed
Deploy Hugo / deploy (push) Failing after 6s

This commit is contained in:
Jens M. Sauer 2024-07-28 14:43:47 +02:00
parent 99eb7e5ee7
commit 7c766820cb

View File

@ -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