Skip to content

Commit

Permalink
build/publish on pr to main
Browse files Browse the repository at this point in the history
  • Loading branch information
littlebenlittle committed Jun 7, 2024
1 parent 252e216 commit da346f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pages.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
name: github-pages
run-name: GitHub Pages
on:
# TODO switch to main
# pull_request:
# branches: [main]
# types:
# - closed
pull_request:
branches: [main]
types:
- closed
push:
branches: [ci/gh-pages]

Expand Down Expand Up @@ -52,6 +51,7 @@ jobs:
run: |
trunk --verbose build --release --features demo
- name: Upload Pages Artifact
if: github.ref_name == 'main'
uses: actions/upload-pages-artifact@v3
with:
path: ui/dist/
Expand Down

0 comments on commit da346f8

Please sign in to comment.