fixed docs workflow issues

This commit is contained in:
Ramon Perez 2025-07-28 22:03:58 +10:00
parent 8ed5bddc02
commit 4e4c683211
3 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: Install dependencies
working-directory: website
@ -63,7 +63,7 @@ jobs:
URL: ${{ steps.deployPreview.outputs.url }}
- name: Publish to Cloudflare Pages (Production)
if: (github.event_name == 'push' && github.ref == 'refs/heads/dev') || (github.event_name == 'workflow_dispatch')
if: (github.event_name == 'push' && github.ref == 'refs/heads/dev') || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/dev')
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}

View File

@ -23,7 +23,7 @@ jobs:
ref: dev
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: Install jq
uses: dcarbone/install-jq-action@v2.0.1

View File

@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
- name: Install jq
uses: dcarbone/install-jq-action@v2.0.1