This repository has been archived by the owner on Aug 24, 2024. It is now read-only.
Only fetch coordinate values for gravity when needed #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: erlef/setup-beam@v1 | |
with: | |
otp-version: "26.2" | |
gleam-version: "1.1.0" | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- run: gleam deps download | |
- run: gleam build | |
- run: npm install | |
working-directory: ./frontend | |
- run: npm run build | |
working-directory: ./frontend | |
- uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
branch: gh-pages | |
folder: frontend/dist | |
clean: true | |
token: ${{ secrets.GITHUB_TOKEN }} |