This commit is contained in:
parent
d6cd370a1c
commit
3e56cec0f2
1 changed files with 23 additions and 5 deletions
|
@ -5,8 +5,26 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: jvconseil/jekyll-docker
|
image: jvconseil/jekyll-docker
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- name: Checkout source
|
||||||
- run: mkdir .jekyll-cache
|
uses: actions/checkout@v4
|
||||||
- run: bundle install
|
- name: Checkout built site
|
||||||
- run: jekyll build --trace
|
uses: actions/checkout@v4
|
||||||
- run: ls ${{ github.workspace }}
|
with:
|
||||||
|
ref: pages
|
||||||
|
path: '_site'
|
||||||
|
- name: Setup cache directory
|
||||||
|
run: mkdir .jekyll-cache
|
||||||
|
- name: Install dependencies
|
||||||
|
run: bundle install
|
||||||
|
- name: Build the site
|
||||||
|
run: jekyll build --trace
|
||||||
|
- name: Publish
|
||||||
|
run: |
|
||||||
|
cd _site
|
||||||
|
touch .nojekyll
|
||||||
|
git config user.name "Scribe"
|
||||||
|
git config user.email "scribe@niblock.tech"
|
||||||
|
git add -A
|
||||||
|
git status
|
||||||
|
git commit -m "Automated Publish"
|
||||||
|
git push
|
||||||
|
|
Loading…
Reference in a new issue