Skip to content

General - Data transfer #116

General - Data transfer

General - Data transfer #116

Workflow file for this run

name: Build Pull Request Preview
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: Checkout Docs
uses: actions/checkout@v3
- 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 preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./site/