Skip to content

Commit

Permalink
Update publish-docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie authored Dec 8, 2023
1 parent 7afd40b commit df20de9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 '[email protected]'
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
command: pages deploy . --project-name pwshspectreconsole --commit-dirty=true --branch=main

0 comments on commit df20de9

Please sign in to comment.