Skip to content

Merge pull request #25 from d3i-infra/no-donation-round-trip #29

Merge pull request #25 from d3i-infra/no-donation-round-trip

Merge pull request #25 from d3i-infra/no-donation-round-trip #29

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