Skip to content

Commit

Permalink
Create pages.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Vanawy authored Feb 27, 2024
1 parent e47271c commit 1deb2e6
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Continuous deployment
on:
workflow_run:
branches: [main]
workflows: [Continuous integration]
types: [completed]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown

- uses: jetli/[email protected]
- uses: jetli/[email protected]

- uses: actions/checkout@v2

- run: trunk build --release

- uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

0 comments on commit 1deb2e6

Please sign in to comment.