We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe56b49 commit 7e3bc09Copy full SHA for 7e3bc09
.github/workflows/selective-deployment.yml
@@ -0,0 +1,23 @@
1
+name: Selective Deployment to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ paths:
8
+ - 'data/**' # Monitor changes in the 'data' folder at the root
9
+ - 'docs/**' # Monitor changes in the 'docs' folder at the root
10
11
+jobs:
12
+ deploy:
13
+ runs-on: ubuntu-latest
14
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v2
18
19
+ - name: Deploy to GitHub Pages
20
+ uses: JamesIves/github-pages-deploy-action@v4
21
+ with:
22
+ branch: main # Deploy to the 'main' branch
23
+ folder: .
0 commit comments