jekyll -> zola
This commit is contained in:
33
.github/workflows/build-jekyll.yml
vendored
33
.github/workflows/build-jekyll.yml
vendored
@ -1,33 +0,0 @@
|
||||
name: build and deploy jekyll
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build_and_deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: rubygems cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: vendor/bundle
|
||||
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gems-
|
||||
|
||||
- name: jekyll deploy
|
||||
uses: "jeffreytse/jekyll-deploy-action@v0.4.0"
|
||||
with:
|
||||
provider: "github"
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: "gh-pages"
|
||||
jekyll_src: "./"
|
||||
jekyll_cfg: "_config.yml"
|
||||
cname: "jackbondpreston.me"
|
||||
actor: "jackbondpreston"
|
||||
pre_build_commands: "pacman -S --noconfirm libvips lcms2 openjpeg2 libpng libwebp libheif imagemagick openslide libjxl poppler-glib"
|
38
.github/workflows/main.yml
vendored
38
.github/workflows/main.yml
vendored
@ -1,38 +0,0 @@
|
||||
# This is a basic workflow to help you get started with Actions
|
||||
|
||||
name: cv-build
|
||||
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
# Triggers the workflow on push or pull request events but only for the "master" branch
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
paths: cv/**
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
|
||||
jobs:
|
||||
# This workflow contains a single job called "build"
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Git repository
|
||||
uses: actions/checkout@v2
|
||||
- name: Compile LaTeX document
|
||||
uses: xu-cheng/latex-action@v2
|
||||
with:
|
||||
working_directory: cv
|
||||
root_file: main.tex
|
||||
- name: Move built .pdf
|
||||
run: |
|
||||
mv cv/main.pdf ./cv.pdf
|
||||
- name: Commit built .pdf
|
||||
uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
add: 'cv.pdf'
|
||||
author_name: 'Jack Bond-Preston'
|
||||
author_email: 'jackbondpreston@outlook.com'
|
||||
message: '[github action] update cv.pdf'
|
||||
|
Reference in New Issue
Block a user