Update .gitea/workflows/build_and_deploy.yaml
This commit is contained in:
@@ -31,13 +31,14 @@ jobs:
|
|||||||
- name: Install Zola
|
- name: Install Zola
|
||||||
uses: taiki-e/install-action@v2
|
uses: taiki-e/install-action@v2
|
||||||
with:
|
with:
|
||||||
tool: zola
|
tool: zola@0.21.0
|
||||||
|
|
||||||
# Step 4: Run the build command
|
# Step 4: Run the build command
|
||||||
# Zola will generate the site in the 'main-site/public' directory
|
# Zola will generate the site in the 'main-site/public' directory
|
||||||
- name: Build Site
|
- name: Build Site
|
||||||
run: |
|
run: |
|
||||||
cd main-site
|
cd main-site
|
||||||
|
zola -V
|
||||||
zola build
|
zola build
|
||||||
|
|
||||||
# Step 5: Upload the 'public' directory as an artifact
|
# Step 5: Upload the 'public' directory as an artifact
|
||||||
|
|||||||
Reference in New Issue
Block a user