Skip to content

add trace_y (close #12) #118

add trace_y (close #12)

add trace_y (close #12) #118

Workflow file for this run

name: Publish software list to gh-pages
on:
push:
branches:
- main
- gh-pages
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
# prerequisites
python -m pip install --upgrade pip wheel
pip install -r requirements.txt
# show installed packages
pip freeze
- name: Generate software list
run: |
python afm-list-manager.py export-list -o exported
- name: Push to gh-pages branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git fetch
git config --global user.email "[email protected]"
git config --global user.name "gh-pages release bot"
git checkout gh-pages
cp -r ./exported/* docs/static/
git add docs/static/*
git commit -a -m "automated update of software list" || echo "No changes to commit"
git push