Skip to content

Commit 21998cd

Browse files
committed
Deploy to pages
1 parent 102467f commit 21998cd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- master
1010
- main
1111

12+
permissions:
13+
contents: write
14+
1215
jobs:
1316
build:
1417
name: Build
@@ -24,3 +27,9 @@ jobs:
2427
- name: Build
2528
shell: bash
2629
run: bundle exec middleman build
30+
31+
- name: Deploy to GitHub Pages
32+
if: github.ref == 'refs/heads/master'
33+
uses: JamesIves/github-pages-deploy-action@v4
34+
with:
35+
folder: build

0 commit comments

Comments
 (0)