Skip to content

Commit

Permalink
Test action
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw committed Dec 26, 2023
1 parent 5b0b29a commit 094bc96
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
on:
push:
# branches:
# - main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Deploy
steps:
- uses: actions/[email protected]
- uses: pnpm/[email protected]
with:
version: 8.12.1
- name: install dependencies
run: pnpm install --frozen-lockfile
- name: build
run: pnpm build
- name: publish docs
uses: cloudflare/pages-action@1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: gg-docs
directory: docs/starlight/dist # e.g. 'dist'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 094bc96

Please sign in to comment.