Skip to content

[pre-commit.ci] pre-commit autoupdate #87

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #87

name: Build and Deploy
on: push
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Install and Build 🔧
run: |
python3 -m pip install toml
python3 -m pip install jinja2
python3 -m pip install yaq-traits
python3 -m pip install markdown
python3 build.py
- name: Deploy 🚀
uses: JamesIves/[email protected]
if: ${{ github.ref == 'refs/heads/main' }}
with:
branch: gh-pages # The branch the action should deploy to.
folder: public # The folder the action should deploy.