Add Shellbed Condendator and DarwinCAT (educational Shiny apps) (#11) #46
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: GH Pages | |
on: [push] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.8' | |
- name: Install Python dependencies | |
run: | | |
pip install -r requirements.txt | |
- name: sort readme # run the run.py to get the latest data | |
run: | | |
python sort.py | |
- name: Deploy main | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: main | |
FOLDER: . | |
- name: Build | |
run: | | |
sed 's/docs\/img\//img\//g' README.md > docs/index.md | |
mkdocs build | |
- name: Deploy pages | |
uses: JamesIves/[email protected] | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: site |