From ecb5e29474c031309eae3aca3a49ff11c9ee18d5 Mon Sep 17 00:00:00 2001 From: Sameer Puri Date: Thu, 12 Aug 2021 19:07:24 -0400 Subject: [PATCH] correct branch name --- .github/workflows/web-deploy.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/web-deploy.yml b/.github/workflows/web-deploy.yml index 032790d..4ae3046 100644 --- a/.github/workflows/web-deploy.yml +++ b/.github/workflows/web-deploy.yml @@ -33,12 +33,14 @@ jobs: - uses: jetli/trunk-action@v0.1.0 - uses: jetli/wasm-bindgen-action@v0.1.0 - - run: | + - name: Trunk build + run: | cd web trunk build --release - - uses: peaceiris/actions-gh-pages@v3 - if: github.ref == 'refs/heads/main' + - name: Publish to GitHub Pages + uses: peaceiris/actions-gh-pages@v3 + if: github.ref == 'refs/heads/master' with: github_token: $ publish_dir: ./web/dist \ No newline at end of file