Skip to content

Commit

Permalink
chore: host og-image on tutorialkit.dev (#420)
Browse files Browse the repository at this point in the history
  • Loading branch information
AriPerkkio authored Nov 18, 2024
1 parent b6d26f8 commit 45a1508
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This is for publishing documentation manually.
# During release `publish-release.yaml` publishes docs automatically.
name: Publish Documentation

on:
workflow_dispatch:

jobs:
publish_docs:
name: Publish documentation
needs: [publish_release]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: ./.github/actions/setup-and-build

- name: Build docs
run: pnpm run docs:build

- name: Deploy documentation
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: tutorialkit-docs-page
workingDirectory: 'docs/tutorialkit.dev'
directory: dist
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 45a1508

Please sign in to comment.