mirror of
https://github.com/ryan4yin/nixos-and-flakes-book.git
synced 2025-06-20 11:47:42 +02:00
feat: disable github pages
This commit is contained in:
parent
f0751b62dc
commit
e14a06db00
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user