mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-07 21:48:18 -08:00
docs: only run workflow when docs are updated
This commit is contained in:
parent
aeb79adefb
commit
3af969b25c
1 changed files with 3 additions and 5 deletions
8
.github/workflows/astro.yml
vendored
8
.github/workflows/astro.yml
vendored
|
|
@ -1,14 +1,12 @@
|
||||||
name: Deploy to GitHub Pages
|
name: Deploy to GitHub Pages
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
|
||||||
# Using a different branch name? Replace `main` with your branch’s name
|
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
# Allows you to run this workflow manually from the Actions tab on GitHub.
|
paths:
|
||||||
workflow_dispatch:
|
- 'docs/**'
|
||||||
|
- '.github/workflows/**'
|
||||||
|
|
||||||
# Allow this job to clone the repo and create a page deployment
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pages: write
|
pages: write
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue