setup-lisp/.github/workflows/docs.yml

43 lines
1.1 KiB
YAML
Raw Normal View History

2021-02-15 20:37:05 +00:00
name: 'Docs'
on:
# This will run tests on pushes
# to master branch and every monday:
push:
branches:
- 'main'
- 'master'
2021-02-24 20:09:23 +00:00
- 'test-cache'
2021-02-15 20:37:05 +00:00
schedule:
- cron: '0 10 * * 1'
jobs:
build-docs:
runs-on: ubuntu-latest
env:
LISP: sbcl-bin
steps:
- uses: actions/checkout@v1
2021-02-24 20:38:11 +00:00
- name: Grant All Perms on /usr/local/etc/roswell
# This makes cache restoration possible
2021-02-24 20:40:38 +00:00
run: sudo mkdir /usr/local/etc/roswell && sudo chmod -R a+rwx /usr/local/etc/roswell
2021-02-24 20:09:23 +00:00
- name: Cache Roswell Setup
2021-02-24 20:38:11 +00:00
id: cache
2021-02-24 20:09:23 +00:00
uses: actions/cache@v2
env:
cache-name: cache-roswell
with:
path: |
~/.roswell
/usr/local/etc/roswell
.qlot
key: "${{ runner.os }}-build1-${{ env.cache-name }}-${{ hashFiles('qlfile.lock') }}"
2021-02-24 20:40:38 +00:00
#- uses: 40ants/setup-lisp@test-cache
2021-02-24 20:38:11 +00:00
# if: steps.cache.outputs.cache-hit != 'true'
2021-02-15 20:37:05 +00:00
- uses: 40ants/build-docs@v1
with:
asdf-system: docs
2021-02-16 14:46:40 +00:00
# ngrok-auth-token: ${{ secrets.NGROK_AUTH_TOKEN }}