Skip to content

pkg: add scope to pkg name in manifest.json #14

pkg: add scope to pkg name in manifest.json

pkg: add scope to pkg name in manifest.json #14

Workflow file for this run

# thx for @teidesu
name: Docs
on:
push:
branches:
- main
pull_request:
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:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Build
run: |
bun i --frozen-lockfile
bun run build
- name: Build docs
run: |
bun run docs
touch docs/.nojekyll
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: docs
# Deployment job
deploy:
# only run on releases
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2