name: Build and Deploy on: push: branches: [ "main" ] pull_request: branches: [ "main" ] workflow_dispatch: jobs: page_build: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - name: Build run: | sudo apt update sudo apt install -y software-properties-common sudo add-apt-repository ppa:deadsnakes/ppa sudo apt update sudo apt install -y python3.10 tree wget tar xz-utils p7zip python3.10 ./Tools/BuildCSS.py python3.10 ./Tools/BuildCSS.py --Output="maxcdn/" --URLPrefix="https://twemoji.maxcdn.com/v/latest/svg/" ./Tools/DeployPages.sh - name: Deploy uses: JamesIves/github-pages-deploy-action@v4 with: folder: public