Skip to content

updated github pages workflow, poetry needs to be installed different… #26

updated github pages workflow, poetry needs to be installed different…

updated github pages workflow, poetry needs to be installed different… #26

Workflow file for this run

name: Build and Deploy to GitHub Pages
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
REACT_APP_BUILD: standalone
NODE_ENV: development
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: npm i && pipx install poetry
- name: Build release
run: npm run release
- name: Unpack release
run: |
RELEASE_FILE=$(ls releases/*.zip | head -n 1)
unzip -o "$RELEASE_FILE" -d build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build