Update cfpages-deploy.yml
Einige Prüfungen sind fehlgeschlagen
Deploy Zola site to Cloudflare Pages / build-and-deploy (push) Failing after 11s
Einige Prüfungen sind fehlgeschlagen
Deploy Zola site to Cloudflare Pages / build-and-deploy (push) Failing after 11s
Dieser Commit ist enthalten in:
Ursprung
4b567be0f1
Commit
86f4c7181e
1 geänderte Dateien mit 7 neuen und 3 gelöschten Zeilen
10
.github/workflows/cfpages-deploy.yml
gevendort
10
.github/workflows/cfpages-deploy.yml
gevendort
|
@ -21,18 +21,22 @@ jobs:
|
|||
tar -xzf zola.tar.gz
|
||||
chmod +x zola
|
||||
mv zola /usr/local/bin/
|
||||
# 3. Initialize Submodules
|
||||
- name: Initialize submodules
|
||||
run: |
|
||||
git submodule update --init --recursive
|
||||
|
||||
# 3. Build the site with Zola
|
||||
# 4. Build the site with Zola
|
||||
- name: Build site with Zola
|
||||
run: |
|
||||
zola build --output-dir public
|
||||
|
||||
# 4. Install Wrangler CLI
|
||||
# 5. Install Wrangler CLI
|
||||
- name: Install Wrangler
|
||||
run: |
|
||||
npm install -g @cloudflare/wrangler
|
||||
|
||||
# 5. Publish to Cloudflare Pages using Wrangler
|
||||
# 6. Publish to Cloudflare Pages using Wrangler
|
||||
- name: Deploy to Cloudflare Pages
|
||||
env:
|
||||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||
|
|
Laden …
Tabelle hinzufügen
In neuem Issue referenzieren