Skip to content

Pin build requirements file #169

Pin build requirements file

Pin build requirements file #169

Workflow file for this run

name: Deploy PR previews
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: pip install -r requirements.txt
- name: Build
run: ./build.sh
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./build/html
deploy-repository: OasisLMF/PreviewDocs
token: ${{ secrets.BUILD_PREVIEW_TOKEN }}