Skip to content

upgrade

upgrade #15

Workflow file for this run

name: Build and Deploy Static Pages
on:
push:
branches: [ master ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1
with:
# persist-credentials: false
submodules: true
- name: Node Environment 🔧
uses: actions/setup-node@v1
with:
node-version: 14
- name: Build Static Site 🔧
run: |
npm install
npm run-script build
#run: |
# docker run \
# -v ${{ github.workspace }}:/srv/jekyll \
# -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
# jekyll/builder:latest /bin/bash \
# -c "chmod 777 /srv/jekyll && jekyll build --future"
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: _site
CLEAN: true
COMMIT_MESSAGE: 'Publishing'
# JEKYLL_SITE: NO
# CNAME: www.kaceong.com