Skip to content

Generate and Deploy #19

Generate and Deploy

Generate and Deploy #19

name: Generate and Deploy
on:
workflow_dispatch:
jobs:
generate-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- name: Generate 🏭
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cp -a _skeleton/ _generate/
pip3 install -U PyGithub
./generate.py _generate/
- name: Deploy 🚀
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./_generate