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 d3c2af3 commit 1cff393Copy full SHA for 1cff393
.github/workflows/static.yml
@@ -2,7 +2,7 @@
2
name: Deploy static content to Pages
3
4
on:
5
- # Runs on pushes targeting the default branch
+ # Runs on pushes targeting the specified branch
6
push:
7
branches: ["TestPage"]
8
@@ -31,13 +31,15 @@ jobs:
31
steps:
32
- name: Checkout
33
uses: actions/checkout@v4
34
+ with:
35
+ ref: TestPage # Ensure we checkout the TestPage branch
36
- name: Setup Pages
37
uses: actions/configure-pages@v5
38
- name: Upload artifact
39
uses: actions/upload-pages-artifact@v3
40
with:
- # Upload entire repository
- path: '.'
41
+ # Upload the index.html file from the TestPage branch
42
+ path: 'index.html'
43
- name: Deploy to GitHub Pages
44
id: deployment
45
uses: actions/deploy-pages@v4
0 commit comments