Skip to content

Commit 4b11122

Browse files
authored
Create main.yml
1 parent afe2a7c commit 4b11122

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/main.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build Jekyll site - new
2+
on:
3+
push:
4+
branches: ["main"]
5+
permissions:
6+
contents: read
7+
pages: write
8+
id-token: write
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
- name: Setup Pages
16+
uses: actions/configure-pages@v5
17+
- name: Build
18+
uses: actions/jekyll-build-pages@v1
19+
- name: Upload artifact
20+
uses: actions/upload-pages-artifact@v3
21+
deploy:
22+
runs-on: ubuntu-latest
23+
needs: build
24+
steps:
25+
- name: Deploy to GitHub Pages
26+
id: deployment
27+
uses: actions/deploy-pages@v4
28+
environment:
29+
name: github-pages
30+
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)