mirror of
https://forgejo.ellis.link/continuwuation/continuwuity/
synced 2026-04-26 19:05:19 +00:00
dont setup github pages if pull request
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -47,6 +47,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup GitHub Pages
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: actions/configure-pages@v4
|
||||
|
||||
- name: Install Nix (with flakes and nix-command enabled)
|
||||
@@ -191,11 +192,13 @@ jobs:
|
||||
compression-level: 0
|
||||
|
||||
- name: Upload generated documentation (book) as GitHub Pages artifact
|
||||
if: github.event_name != 'pull_request'
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
path: public
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
if: github.event_name != 'pull_request'
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user