Skip to content

Commit

Permalink
Add theme & better page deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
hv0905 committed Jan 16, 2024
1 parent 8acac50 commit a40e5c2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
**/values.dev.yaml
**/venv

.github/
static/
web/
tests/
Expand Down
1 change: 1 addition & 0 deletions .github/page_build/_config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
theme: jekyll-theme-cayman
13 changes: 6 additions & 7 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
name: Deploy project pages

on:
# Runs on pushes targeting the default branch
Expand Down Expand Up @@ -37,14 +36,14 @@ jobs:
uses: actions/configure-pages@v4
- name: prepare site src
run: |
mkdir -p page_build
cp *.md page_build/
cp web/ page_build/ -r
ls -lR page_build/
mkdir -p .github/page_build
cp *.md .github/page_build/
cp web/ .github/page_build/ -r
ls -lR .github/page_build/
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./page_build/
source: ./.github/page_build/
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit a40e5c2

Please sign in to comment.