Update .gitea/workflows/publish.yaml
Some checks failed
Hugo Publish CI / build-and-deploy (push) Failing after 23s
Some checks failed
Hugo Publish CI / build-and-deploy (push) Failing after 23s
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user