Skip to content

Commit 8a1cff5

Browse files
author
Omar Jair Purata Funes
authored
Add jekyll GitHub Action
This is to check if current page is building correctly + if any Pull Request is available to merge.
1 parent 8afbf70 commit 8a1cff5

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/jekyll.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Jekyll site CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
- name: Build the site in the jekyll/builder container
13+
run: |
14+
docker run \
15+
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
16+
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll && jekyll build --future"

0 commit comments

Comments
 (0)