Skip to content

补充提交了迁移文件 (#811) #207

补充提交了迁移文件 (#811)

补充提交了迁移文件 (#811) #207

Workflow file for this run

name: Doc Deploy
on:
push:
branches: ["develop"]
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
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@v3
- name: Configure configs
run: bash scripts/default_config.sh
- name: Start containers
run: docker compose -f .devcontainer/docker-compose.yml up -d
- name: Build docs
run: docker compose -f .devcontainer/docker-compose.yml exec -T yppf bash docs/build.sh
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: "./docs/build/html"
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2