Skip to content

Changed CD action

Changed CD action #5

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/trunk-action@v0.1.0
- uses: jetli/wasm-bindgen-action@v0.1.0
- uses: actions/checkout@v2
- run: |
cd /${{ github.event.repository.name }}/axiom-profiler-GUI

Check failure on line 23 in .github/workflows/continuous_deployment.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/continuous_deployment.yml

Invalid workflow file

You have an error in your yaml syntax on line 23
trunk build --release
# 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: ./dist