Skip to content

Commit b57d26d

Browse files
jackgallantclaude
andcommitted
Gallant Lab website (gallantlab.org)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 parents  commit b57d26d

332 files changed

Lines changed: 3547 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/hugo-deploy.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Deploy Hugo site to Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: write
11+
pages: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
deploy:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v5
23+
with:
24+
fetch-depth: 0
25+
26+
- name: Setup Hugo
27+
uses: peaceiris/actions-hugo@v3
28+
with:
29+
hugo-version: '0.154.3'
30+
extended: true
31+
32+
- name: Build
33+
run: hugo --minify
34+
35+
- name: Deploy to gh-pages
36+
uses: peaceiris/actions-gh-pages@v4
37+
with:
38+
github_token: ${{ secrets.GITHUB_TOKEN }}
39+
publish_dir: ./public
40+
publish_branch: gh-pages
41+
cname: gallantlab.org
42+
# Republish gh-pages as a single fresh commit each deploy so no
43+
# build/deploy history accumulates on the public repo.
44+
force_orphan: true

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
public/
2+
resources/
3+
.hugo_build.lock
4+
.DS_Store
5+
node_modules/

0 commit comments

Comments
 (0)