Merge branch 'main' of https://github.com/wenzel-lab/light-sheet-micr… #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Gitbuilding Project to Github Pages | |
on: [push] | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install Python 3 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: "3.7" | |
- name: Build | |
run: | | |
pip install gitbuilding | |
gitbuilding build-html | |
- name: Deploy | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: main | |
FOLDER: _site/ | |
# Automatically remove deleted files from the deploy branch | |
CLEAN: false |