diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 4206fa0a..42bb7a39 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -24,13 +24,13 @@ jobs: & .\PwshSpectreConsole.Docs\UpdateDocs.ps1 -NonInteractive git config --global user.name 'Shaun Lawrie (via GitHub Actions)' git config --global user.email 'shaun.r.lawrie@gmail.com' - git add PwshSpectreConsole.Docs/src/content - git commit -m "[skip ci] Update docs" - git push + git add PwshSpectreConsole.Docs/src/content || true + git commit -m "[skip ci] Update docs" || true + git push || true - name: Deploy uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CF_API_TOKEN }} accountId: ${{ secrets.CF_ACCOUNT_ID }} workingDirectory: "./PwshSpectreConsole.Docs/dist" - command: pages deploy . --project-name pwshspectreconsole --commit-dirty=true --branch=main \ No newline at end of file + command: pages deploy . --project-name pwshspectreconsole --commit-dirty=true --branch=main