Update .gitea/workflows/build_and_deploy.yaml
This commit is contained in:
@@ -27,19 +27,10 @@ jobs:
|
|||||||
path: main-site/themes/anemone
|
path: main-site/themes/anemone
|
||||||
token: ${{ secrets.ANEMONE_TOKEN }}
|
token: ${{ secrets.ANEMONE_TOKEN }}
|
||||||
|
|
||||||
# Step 3a: Install the Rust toolchain (cargo, rustc, etc.)
|
- name: Install Zola
|
||||||
- name: Install Rust Toolchain
|
uses: taiki-e/install-action@v2
|
||||||
uses: actions-rs/toolchain@v1
|
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
tool: zola
|
||||||
override: true
|
|
||||||
|
|
||||||
# Step 3b: Build and Install Zola from source for a specific version
|
|
||||||
- name: Build and Install Zola from Source
|
|
||||||
run: |
|
|
||||||
cargo install --locked --git https://github.com/getzola/zola --tag v0.21.0
|
|
||||||
echo "Installed Zola version:"
|
|
||||||
zola --version
|
|
||||||
|
|
||||||
|
|
||||||
# Step 4: Run the build command
|
# Step 4: Run the build command
|
||||||
|
|||||||
Reference in New Issue
Block a user