Skip to content

Merge pull request #178 from magicsword-io/rename-coc #159

Merge pull request #178 from magicsword-io/rename-coc

Merge pull request #178 from magicsword-io/rename-coc #159

Workflow file for this run

name: Generate Site
on:
push:
branches: [ main ]
jobs:
generate-site:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
token: ${{ secrets.PUSH_TOKEN }}
- name: Set up Python 3.11
uses: actions/[email protected]
with:
python-version: 3.11
- name: Install Poetry
run: curl -sSL https://install.python-poetry.org | python -
- name: Install dependencies with Poetry
run: poetry install
- name: Run Site Generation
run: poetry run python bin/site.py -v
- name: Run Site Generation
run: poetry run python bin/gen-files.py
- name: Commit Generated Data
run: |
git config --global user.name "Github Actions"
git config --global user.email "[email protected]"
git config --global push.default simple
git add .
git commit -m "New site and hashes generated by GitHub Actions [ci skip]"
git pull --rebase origin main
git push