This repository has been archived by the owner on Aug 24, 2024. It is now read-only.
Login Smart Input (#47) #12
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: ci | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@main | |
- name: Install latest | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
override: true | |
target: wasm32-unknown-unknown | |
default: true | |
- name: Rust Cache | |
uses: Swatinem/rust-cache@v2 | |
- name: Install dependencies | |
run: cargo install dioxus-cli | |
- name: Build | |
run: dioxus build --release | |
- name: Publish Cloudflare | |
uses: cloudflare/pages-action@v1 | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
projectName: Fido | |
directory: dist | |
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |