Skip to content
This repository was archived by the owner on Aug 2, 2025. It is now read-only.

Update and rename 00 index.md to index.md #69

Update and rename 00 index.md to index.md

Update and rename 00 index.md to index.md #69

Workflow file for this run

name: Deploy to tutorial.daxa.dev
on:
push:
branches: ["main"]
workflow_dispatch:
repository_dispatch:
types:
- starlight_wiki_build
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: "22"
- name: Clone Starlight Wiki Template
run: |
git clone https://github.com/learndaxa/StarlightWiki.git ../StarlightWiki/
- name: Copy Tutorial Pages
run: |
mkdir -p ../StarlightWiki/src/content/docs/
cp -r ./docs/* ../StarlightWiki/src/content/docs/
- name: Building Static Site
run: |
cd ../StarlightWiki/
npm install
VITE_SITE=tutorial npm run astro build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "../StarlightWiki/dist/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1