Skip to content

repo name

repo name #10

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Run build script
run: |
python3 ./bin/build.py
- name: Create .nojekyll file
run: touch .nojekyll
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./repositories
publish_branch: gh-pages