Skip to content

ci: refactor deployment workflows and add docs (#117) #6

ci: refactor deployment workflows and add docs (#117)

ci: refactor deployment workflows and add docs (#117) #6

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: true
- name: Build docs
uses: ./.github/actions/build-docs
with:
rspress-base: /${{ github.event.repository.name }}/
- name: Deploy
uses: JamesIves/github-pages-deploy-action@d92aa235d04922e8f08b40ce78cc5442fcfbfa2f # tag v4.8.0
with:
folder: packages/tester/doc_build
branch: gh-pages
clean-exclude: pr-preview
force: false