Skip to content

Commit

Permalink
deploy from ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kuviman committed Nov 19, 2024
1 parent d6dec4c commit 98e53fd
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Setup website

on:
push:
workflow_dispatch:

jobs:
pages:
name: Pages
permissions:
contents: write
if: github.ref == 'refs/heads/main' && github.repository_owner == 'kast-lang'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@v2
- uses: jetli/[email protected]
- uses: actions-rust-lang/setup-rust-toolchain@v1
with:
target: wasm32-unknown-unknown
- run: trunk build --release
- uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist
target-folder: play

0 comments on commit 98e53fd

Please sign in to comment.