Skip to content

Commit 7c001d0

Browse files
committed
Add CI to publish to GitHub pages
1 parent 50479b7 commit 7c001d0

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Build and Deploy GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
if: github.ref == 'refs/heads/master'
12+
steps:
13+
- name: checkout
14+
uses: actions/checkout@v4
15+
- name: build_and_deploy
16+
uses: shalzz/[email protected]
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

static/CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
contextgeneric.dev

0 commit comments

Comments
 (0)