Skip to content

Commit 57ea0c5

Browse files
committed
Adding Github action to deploy website
1 parent 39c0178 commit 57ea0c5

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/deploy-website.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "Deploy website"
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
couscous:
10+
name: "Deploy website with Couscous"
11+
runs-on: "ubuntu-latest"
12+
13+
strategy:
14+
matrix:
15+
php-version:
16+
- "7.4"
17+
18+
steps:
19+
- name: "Checkout"
20+
uses: "actions/checkout@v2"
21+
22+
- uses: CouscousPHP/GitHub-Action@v1
23+
- name: Deploy
24+
uses: peaceiris/actions-gh-pages@v3
25+
with:
26+
github_token: ${{ secrets.GITHUB_TOKEN }}
27+
publish_dir: ./.couscous/generated

0 commit comments

Comments
 (0)