-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (33 loc) · 1.14 KB
/
ghpage.yml
File metadata and controls
37 lines (33 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Jekyll site CI
on:
pull_request:
branches: master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check Spelling
uses: check-spelling/check-spelling@v0.0.22
with:
extra_dictionaries:
cspell:software-terms/dict/softwareTerms.txt
cspell:aws/aws.txt
cspell:php/dict/php.txt
cspell:node/dict/node.txt
cspell:npm/dict/npm.txt
cspell:html/dict/html.txt
cspell:k8s/dict/k8s.txt
cspell:golang/dict/go.txt
cspell:css/dict/css.txt
cspell:fullstack/dict/fullstack.txt
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod -R 777 /srv/jekyll && jekyll build --future"
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages # The branch the action should deploy to.
folder: _site # The folder the action should deploy.