feat: Clickable cards #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
name: GitHub Pages | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
jobs: | |
build-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
override: true | |
target: wasm32-unknown-unknown | |
- uses: cargo-bins/cargo-binstall@main | |
- uses: Swatinem/rust-cache@v1 | |
- name: Setup Node | |
uses: actions/[email protected] | |
- name: NPM install | |
run: npm install -D tailwindcss | |
- name: Install Dioxus CLI | |
run: cargo install dioxus-cli --force | |
- name: Make build script executable | |
run: chmod +x ./build.sh | |
- name: Run build script | |
run: ./build.sh | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages | |
folder: dist | |
target-folder: . |