mirror of
https://github.com/rmcrackan/Libation.git
synced 2025-12-23 22:17:52 -05:00
Restrict workflow runs to specific paths
This commit is contained in:
committed by
Michael Bucari-Tovo
parent
ad3a767057
commit
1299d91d08
5
.github/workflows/deploy.yml
vendored
5
.github/workflows/deploy.yml
vendored
@@ -5,6 +5,9 @@ on:
|
|||||||
# using the `master` branch as the default branch.
|
# using the `master` branch as the default branch.
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
paths:
|
||||||
|
- .github/workflows/deploy.yml
|
||||||
|
- docs/**
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -61,4 +64,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
|
|||||||
6
.github/workflows/validate.yml
vendored
6
.github/workflows/validate.yml
vendored
@@ -6,8 +6,14 @@ name: validate
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
paths:
|
||||||
|
- Source/**
|
||||||
|
- .github/workflows/**
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
paths:
|
||||||
|
- Source/**
|
||||||
|
- .github/workflows/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get_version:
|
get_version:
|
||||||
|
|||||||
Reference in New Issue
Block a user