Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Create deploy-previews.yml
  • Loading branch information
epicfaace authored Mar 15, 2020
commit f12d58d80bb6347682bc95cab06f90aa5c37a6b9
27 changes: 27 additions & 0 deletions .github/workflows/deploy-previews.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Generate Deploy Preview

on:
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v1.2.0
with:
python-version: 3.7
- name: Build documentation
run: |
make venv
make html
working-directory: Doc
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.4.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: Doc/build/build
TARGET_FOLDER: ${{ GITHUB_SHA }}