Update .gitea/workflows/publish.yaml
Some checks failed
Hugo Publish CI / build-and-deploy (push) Failing after 23s

This commit is contained in:
2025-12-20 01:50:21 +00:00
parent abe6862f65
commit 34aa99a15d

View File

@@ -9,12 +9,11 @@ jobs:
build-and-deploy: build-and-deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Add SSH Key - name: Add SSH Key
run: | run: |
echo "${{ secrets.SSH_KEY }}" > $HOME/.ssh/id_rsa echo "${{ secrets.SSH_KEY }}" > $HOME/.ssh/id_rsa
chmod 600 $HOME/.ssh/id_rsa chmod 600 $HOME/.ssh/id_rsa
ssh-keyscan -H git.ericxliu.me >> $HOME/.ssh/known_hosts ssh-keyscan -H git.ericxliu.me >> $HOME/.ssh/known_hosts
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with: