Skip to content

Merge pull request #29 from ucdavis/camille/admin-header #36

Merge pull request #29 from ucdavis/camille/admin-header

Merge pull request #29 from ucdavis/camille/admin-header #36

Workflow file for this run

name: Build and Deploy mkdocs
on:
push:
branches:
- master
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Docs
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout spack-ucdavis
uses: actions/checkout@v3
with:
repository: ucdavis/spack-ucdavis
path: spack-ucdavis
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- run: pip install -r requirements.txt
- name: mkdocs build
run: mkdocs build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: ./site/
clean-exclude: ./pr-preview/
force: false