Skip to content

test

test #8

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
BuildAndDeploy:
runs-on: ubuntu-20.04
permissions: write-all
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
- uses: julia-actions/setup-julia@v1
with:
version: "1"
- uses: julia-actions/cache@v1
- run: julia --color=yes --project -e 'using Pkg; Pkg.instantiate()'
- run: julia --project -e 'using BookTemplate; BookTemplate.build()'
- name: Deploy to gh-pages branch
if: ${{ github.event_name != 'pull_request' }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
publish_dir: ./_build/