-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 730 Bytes
/
Copy pathmain.yml
File metadata and controls
37 lines (31 loc) · 730 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Webify & Deploy
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: write
jobs:
build-and-deploy:
name: Build & Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Webify
uses: webifier/build@v1.0.5
with:
baseurl: ''
index: index.yml
publish_dir: webified
templates_dir: .
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: success()
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
allow_empty_commit: true
force_orphan: true
publish_dir: ./webified