Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

Commit cf280c0

Browse files
Create publish.yml
1 parent 00135e0 commit cf280c0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/publish.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
on: push
2+
name: Build and deploy GH Pages
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
if: github.ref == 'refs/heads/main'
7+
steps:
8+
- name: checkout
9+
uses: actions/checkout@v4
10+
- name: build_and_deploy
11+
uses: shalzz/zola-deploy-action@master
12+
env:
13+
PAGES_BRANCH: gh-pages
14+
TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)