Skip to content

Remove RELEASE.txt delete hack #123

Remove RELEASE.txt delete hack

Remove RELEASE.txt delete hack #123

Workflow file for this run

name: github-pages
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: awalsh128/cache-apt-pkgs-action@v1
with:
packages: binaryen
- uses: dtolnay/rust-toolchain@stable
with:
target: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- name: Download dependencies
run: |
cargo install --git https://github.com/DioxusLabs/dioxus dioxus-cli
- name: Build artifacts
run: |
web/optimize.bash
mv web/dist/ _site/
- uses: actions/upload-pages-artifact@v2
deploy:
if: ${{ github.event_name == 'push' }}
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2