We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 305b80c commit bec11c2Copy full SHA for bec11c2
1 file changed
.github/workflows/deploy.yml
@@ -1,8 +1,9 @@
1
-name: Deploy static content to Pages
+name: Deploy to GitHub Pages
2
3
on:
4
push:
5
- branches: ["main"]
+ branches:
6
+ - main
7
workflow_dispatch:
8
9
permissions:
@@ -23,12 +24,21 @@ jobs:
23
24
steps:
25
- name: Checkout
26
uses: actions/checkout@v4
27
+
28
- name: Setup Pages
29
uses: actions/configure-pages@v5
- - name: Upload project
30
31
+ - name: Stage files
32
+ run: |
33
+ mkdir -p ./_site
34
+ cp -r "./Source Code"/* ./_site/
35
36
+ - name: Upload artifact
37
uses: actions/upload-pages-artifact@v3
38
with:
- path: './Source Code'
39
+ # Point to the staged directory containing static files
40
+ path: './_site'
41
42
- name: Deploy to GitHub Pages
43
id: deployment
44
uses: actions/deploy-pages@v4
0 commit comments