fix: don't run CI on site/.md change

This commit is contained in:
veeso
2023-07-06 11:07:22 +02:00
parent a071f3d420
commit e5ca956897
5 changed files with 39 additions and 5 deletions

View File

@@ -5,6 +5,8 @@ on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
paths:
- "./site/**/*"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
@@ -35,7 +37,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: './site/'
path: "./site/"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1