Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/42willow/flake. my system configurations ^-^ 42willow.github.io/flake
home-manager nix nixos
Something went wrong. Try again.
YAML
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849name: Deploy site
on: push: branches: [main] workflow_dispatch:
permissions: contents: read pages: write id-token: write
concurrency: group: pages cancel-in-progress: false
jobs: build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v6 with: fetch-depth: 0 - uses: oven-sh/setup-bun@v2 - name: Setup Pages uses: actions/configure-pages@v4 - name: Install dependencies run: bun install working-directory: docs - name: Build with VitePress run: bun run build working-directory: docs - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: path: docs/.vitepress/dist
deploy: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} needs: build runs-on: ubuntu-latest steps: - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4