forked from jmug/stoatchat
ci: fix path to pages artifact
ci: ignore changes to documentation for docker/rust builds
This commit is contained in:
5
.github/workflows/book.yml
vendored
5
.github/workflows/book.yml
vendored
@@ -24,8 +24,6 @@ jobs:
|
|||||||
echo `pwd`/mdbook >> $GITHUB_PATH
|
echo `pwd`/mdbook >> $GITHUB_PATH
|
||||||
- name: Build Book
|
- name: Build Book
|
||||||
run: |
|
run: |
|
||||||
# This assumes your book is in the root of your repository.
|
|
||||||
# Just add a `cd` here if you need to change to another directory.
|
|
||||||
cd doc
|
cd doc
|
||||||
mdbook build
|
mdbook build
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
@@ -33,8 +31,7 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v3
|
uses: actions/upload-pages-artifact@v3
|
||||||
with:
|
with:
|
||||||
# Upload entire repository
|
path: "doc/book"
|
||||||
path: "book"
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
|||||||
1
.github/workflows/docker.yaml
vendored
1
.github/workflows/docker.yaml
vendored
@@ -10,6 +10,7 @@ on:
|
|||||||
- ".github/**"
|
- ".github/**"
|
||||||
- "!.github/workflows/docker.yml"
|
- "!.github/workflows/docker.yml"
|
||||||
- ".vscode/**"
|
- ".vscode/**"
|
||||||
|
- "doc/**"
|
||||||
- ".gitignore"
|
- ".gitignore"
|
||||||
- "LICENSE"
|
- "LICENSE"
|
||||||
- "README"
|
- "README"
|
||||||
|
|||||||
8
.github/workflows/rust.yaml
vendored
8
.github/workflows/rust.yaml
vendored
@@ -2,6 +2,14 @@ name: Rust build, test, and generate specification
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- ".github/**"
|
||||||
|
- "!.github/workflows/rust.yaml"
|
||||||
|
- ".vscode/**"
|
||||||
|
- "doc/**"
|
||||||
|
- ".gitignore"
|
||||||
|
- "LICENSE"
|
||||||
|
- "README"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user