feat: disable github pages

This commit is contained in:
Ryan Yin 2023-06-23 21:22:07 +08:00
parent f0751b62dc
commit e14a06db00

View File

@ -8,9 +8,9 @@ jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions: # permissions:
pages: write # to deploy to Pages # pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source # id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment # Deploy to the github-pages environment
environment: environment:
name: github-pages name: github-pages
@ -49,12 +49,12 @@ jobs:
# build and deploy the docs # build and deploy the docs
- name: Build - name: Build
run: pnpm docs:build run: pnpm docs:build
- uses: actions/configure-pages@v2
- uses: actions/upload-pages-artifact@v1
with:
path: docs/.vitepress/dist
# use vercel currently, so disable this one # use vercel currently, so disable this one
# - uses: actions/configure-pages@v2
# - uses: actions/upload-pages-artifact@v1
# with:
# path: docs/.vitepress/dist
# - name: Deploy to GitHub Pages # - name: Deploy to GitHub Pages
# id: deployment # id: deployment
# uses: actions/deploy-pages@v2 # or the latest "vX.X.X" version tag for this action # uses: actions/deploy-pages@v2 # or the latest "vX.X.X" version tag for this action