Skip to content

Merge pull request #28 from probe-rs/dependabot/github_actions/JamesI… #20

Merge pull request #28 from probe-rs/dependabot/github_actions/JamesI…

Merge pull request #28 from probe-rs/dependabot/github_actions/JamesI… #20

Workflow file for this run

name: deploy
on:
push:
branches:
- master
paths-ignore:
- '**.md'
- '**.png'
- '**cd.yml'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install stable toolchain
uses: actions-rs/[email protected]
with:
toolchain: stable
target: wasm32-unknown-unknown
override: true
- uses: jetli/[email protected]
with:
# Optional version of trunk to install(eg. 'v0.8.1', 'latest')
version: 'latest'
- name: Build
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
trunk build --release
- name: Copy CNAME
run: |
cp CNAME dist/CNAME
- name: Deploy demo
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: dist
clean: true