Skip to content

Commit ebe2fe7

Browse files
committed
adding actual explicit deploy
1 parent 417b36e commit ebe2fe7

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/hugo.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Pages Deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
workflow_dispatch:
9+
10+
permissions:
11+
contents: read
12+
pages: write
13+
id-token: write
14+
15+
concurrency:
16+
group: "pages"
17+
cancel-in-progress: false
18+
19+
defaults:
20+
run:
21+
shell: bash
22+
23+
24+
jobs:
25+
build:
26+
runs-on: ubuntu-latest
27+
- name: Setup Pages
28+
id: pages
29+
uses: actions/configure-pages@v5
30+
- name: Upload artifact
31+
uses: actions/upload-pages-artifact@v4
32+
with:
33+
path: /
34+
retention-days: 30
35+
deploy:
36+
environment:
37+
name: github-pages
38+
url: ${{ steps.deployment.outputs.page_url }}
39+
runs-on: ubuntu-latest
40+
needs: build
41+
steps:
42+
- name: Deploy to GitHub Pages
43+
id: deployment
44+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)