updated workflow
This commit is contained in:
@@ -6,14 +6,20 @@ jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: zolacti/on@main
|
||||
with:
|
||||
deploy: false
|
||||
- uses: actions/checkout@v4
|
||||
- name: Pull Zola binary
|
||||
run: |
|
||||
wget https://github.com/getzola/zola/releases/download/v0.21.0/zola-v0.21.0-x86_64-unknown-linux-gnu.tar.gz
|
||||
- name: Unzip
|
||||
run: |
|
||||
tar -xf zola-v0.21.0-x86_64-unknown-linux-gnu.tar.gz
|
||||
- name: Build Site
|
||||
run: |
|
||||
./zola build
|
||||
deploy:
|
||||
name: Deploy to cloudflare
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Deploy
|
||||
uses: cloudflare/wrangler-action@v3
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user