更新部署脚本,使用固定的 Gitea URL 和主分支进行检出
Some checks failed
Build and Deploy Qingshuige / build-deploy (push) Failing after 2s
Some checks failed
Build and Deploy Qingshuige / build-deploy (push) Failing after 2s
This commit is contained in:
@@ -12,9 +12,9 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout source
|
- name: Checkout source
|
||||||
run: |
|
run: |
|
||||||
git clone $GITEA_SERVER_URL/$GITHUB_REPOSITORY.git repo
|
git clone https://gitea.qingshuige.ink/qingshuige-authors/qingshuige-hugo.git repo
|
||||||
cd repo
|
cd repo
|
||||||
git checkout $GITHUB_SHA
|
git checkout main
|
||||||
|
|
||||||
- name: Test Hugo
|
- name: Test Hugo
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user