Skip to content

Probtest santis

Probtest santis #197

Workflow file for this run

name: Deploy PR previews for MkDocs
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install and Build
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
mkdocs build
- name: Deploy preview
if: github.event.pull_request.head.repo.full_name == github.repository
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./site/
preview-branch: gh-pages
umbrella-dir: pr-preview
pages-base-url: c2sm.github.io
action: auto