Use native git clone instead of actions/checkout (no node needed)
Some checks failed
Hugo Build & Deploy / build-deploy (push) Failing after 10s

This commit is contained in:
2026-02-06 20:02:54 +01:00
parent 8fd73ea17b
commit a7a433f331

View File

@@ -11,10 +11,12 @@ jobs:
volumes:
- /var/www/blog.bojemoi.me:/deploy
steps:
- name: Install Hugo
- name: Install dependencies
run: apk add --no-cache hugo git
- uses: actions/checkout@v4
- name: Checkout repo
run: |
git clone --depth 1 --branch "${GITHUB_REF_NAME}" "http://gitea:3000/${GITHUB_REPOSITORY}.git" .
- name: Build Hugo site
run: hugo --minify