Delete .github/workflows/deploy-docs.yml
This commit is contained in:
parent
461b75443b
commit
08d16e349c
60
.github/workflows/deploy-docs.yml
vendored
60
.github/workflows/deploy-docs.yml
vendored
@ -1,60 +0,0 @@
|
||||
name: Deploy Docs
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
concurrency:
|
||||
group: github-pages
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 22
|
||||
cache: npm
|
||||
cache-dependency-path: docus/package-lock.json
|
||||
|
||||
- name: Install docs dependencies
|
||||
run: npm ci --prefix docus
|
||||
|
||||
- name: Generate docs content
|
||||
run: node tools/sync-docus-docs.mjs
|
||||
|
||||
- name: Build static docs
|
||||
run: npm run build --prefix docus
|
||||
env:
|
||||
DOCS_BASE_URL: /${{ github.event.repository.name }}/
|
||||
DOCS_SITE_URL: https://${{ github.repository_owner }}.github.io
|
||||
DOCS_REPO_URL: https://github.com/${{ github.repository }}
|
||||
DOCS_REPO_BRANCH: ${{ github.ref_name }}
|
||||
|
||||
- name: Upload Pages artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: docus/.output/public
|
||||
|
||||
deploy:
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
Loading…
x
Reference in New Issue
Block a user