Skip to content

Commit

Permalink
update publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
serdec committed Nov 22, 2023
1 parent 26ec3cb commit e3442fd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,16 @@ jobs:
if: github.event_name == 'release'
run: |
echo "GITHUB_TAG=${GITHUB_REF#refs/tags/}" >> "$GITHUB_ENV"
- uses: actions/checkout@v4
- name: Checkout repository on release
if: github.event_name == 'release'
uses: actions/checkout@v4
with:
ref: ${{ github.event_name == 'release' ? github.event.release.target_commitish : github.ref }}
ref: ${{ github.event.release.target_commitish }}
token: ${{secrets.PAT_TOKEN}}
fetch-depth: 0
- name: Checkout repository on workflow_dispatch
if: github.event_name == 'workflow_dispatch'
uses: actions/checkout@v4
- name: Set up Git
run: |
git config user.email "[email protected]"
Expand Down

1 comment on commit e3442fd

@vercel
Copy link

@vercel vercel bot commented on e3442fd Nov 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

click-ui – ./

click-ui-git-main-clickhouse.vercel.app
click-ui.vercel.app
click-ui-clickhouse.vercel.app

Please sign in to comment.