Skip to content

Commit

Permalink
Attempt to create a gh pages deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
spectria-limina authored Dec 3, 2024
1 parent f68bb6d commit f246325
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: deploy

on:
push:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --target wasm32-unknown-unknown
- name: Mkdir
run: mkdir serve/app
- name: Copy Assets
run: cp -r assets imported_assets serve/app || true
- name: Bindgen
uses: jetli/[email protected]
- name: Deploy
uses: ptienchuan/[email protected]
with:
source-directory: serve
env:
GITHUB_TOKEN {{ secrets.GITHUB_TOKEN }}

0 comments on commit f246325

Please sign in to comment.