File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
docs/tutorialkit.dev/public Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ # This is for publishing documentation manually.
2+ # During release `publish-release.yaml` publishes docs automatically.
3+ name : Publish Documentation
4+
5+ on :
6+ workflow_dispatch :
7+
8+ jobs :
9+ publish_docs :
10+ name : Publish documentation
11+ needs : [publish_release]
12+ runs-on : ubuntu-latest
13+ steps :
14+ - name : Checkout
15+ uses : actions/checkout@v4
16+ with :
17+ fetch-depth : 0
18+
19+ - uses : ./.github/actions/setup-and-build
20+
21+ - name : Build docs
22+ run : pnpm run docs:build
23+
24+ - name : Deploy documentation
25+ uses : cloudflare/pages-action@v1
26+ with :
27+ apiToken : ${{ secrets.CLOUDFLARE_API_TOKEN }}
28+ accountId : ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
29+ projectName : tutorialkit-docs-page
30+ workingDirectory : ' docs/tutorialkit.dev'
31+ directory : dist
You can’t perform that action at this time.
0 commit comments