forked from codebygina/mundana-theme-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 5
33 lines (30 loc) · 979 Bytes
/
gh-pages-deploy.yml
File metadata and controls
33 lines (30 loc) · 979 Bytes
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
name: Build and deploy Jekyll site to GitHub Pages
on:
push:
branches:
- master
jobs:
github-pages:
runs-on: ubuntu-latest
steps:
- name: GitHub Checkout
uses: actions/checkout@v2
- name: Bundler Cache
uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install libvips via apt
if: runner.os == 'Linux'
run: |
sudo -E apt-get update -qq -o Acquire::Retries=3
sudo -E apt-get install --fix-missing libvips
- name: Build & Deploy to GitHub Pages
uses: joshlarsen/jekyll4-deploy-gh-pages@master
env:
LD_LIBRARY_PATH: /usr/local/vips/lib
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ secrets.GITHUB_REPOSITORY }}
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}