diff --git a/.github/workflows/jan-astro-docs.yml b/.github/workflows/jan-astro-docs.yml index d21599064..511b1cc96 100644 --- a/.github/workflows/jan-astro-docs.yml +++ b/.github/workflows/jan-astro-docs.yml @@ -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 }} diff --git a/.github/workflows/jan-docs-new-release.yaml b/.github/workflows/jan-docs-new-release.yaml index 7325f9d71..0694658cf 100644 --- a/.github/workflows/jan-docs-new-release.yaml +++ b/.github/workflows/jan-docs-new-release.yaml @@ -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 diff --git a/.github/workflows/jan-docs.yml b/.github/workflows/jan-docs.yml index 4c7439207..24673ef22 100644 --- a/.github/workflows/jan-docs.yml +++ b/.github/workflows/jan-docs.yml @@ -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