Skip to content

Commit

Permalink
publish webcomponents on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Nov 29, 2024
1 parent 12999e9 commit 963444d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/webcomponents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ run-name: 🧩 Build Web Components for ${{ github.event_name == 'issue_comment'
on:
push:
branches:
- geocat
- main
tags:
- 'v*.*.*'
pull_request:
types: [opened, synchronize, ready_for_review]
release:
types: [published]

Expand Down Expand Up @@ -54,10 +58,10 @@ jobs:
tag: ${{ github.ref }}
overwrite: true

- name: Publish web component to ${{ env.PUBLISH_BRANCH }} branch
- name: Publish web component to ${{ env.PUBLISH_BRANCH }}-${{ github.ref_name }} branch
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
force_orphan: true
publish_dir: ./wc-dist
publish_branch: ${{ env.PUBLISH_BRANCH }}
publish_branch: ${{ env.PUBLISH_BRANCH }}-${{ github.ref_name }}

0 comments on commit 963444d

Please sign in to comment.