Build and deploy GH Pages #388
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
# On every push this script is executed | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: '0 8 * * *' | |
name: Build and deploy GH Pages | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@v4 | |
- name: Generate device pages | |
run: | | |
python3 hwdata.py | |
- name: build_and_deploy | |
uses: shalzz/[email protected] | |
env: | |
PAGES_BRANCH: gh-pages | |
TOKEN: ${{ secrets.GITHUB_TOKEN }} |