Skip to content

Continuous deployment #95

Continuous deployment

Continuous deployment #95

name: Continuous deployment
on:
workflow_run:
branches: [main]
workflows: [Continuous integration]
types: [completed]
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
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: cd axiom-profiler-GUI && trunk build --release --public-url /${{ github.event.repository.name }}/
- uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./axiom-profiler-GUI/dist