Skip to content

Commit

Permalink
Update publish-page.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
splashdust committed Dec 4, 2024
1 parent 88441a1 commit 7839a82
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/publish-page.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ on:
push:
branches:
- main

workflow_dispatch:
inputs:
npm_tag:
description: "NPM tag of @sebgroup/green-core to install"
default: "latest"

repository_dispatch:
types: [trigger-workflow]

concurrency: publish-testbed-page

Expand All @@ -29,7 +37,7 @@ jobs:
run: npm ci

- name: Install latest Green Core
run: npm install @sebgroup/green-core@latest
run: npm install @sebgroup/green-core@${{ github.event.client_payload.npm_tag || github.event.inputs.npm_tag || 'latest' }}

- name: Build Project
run: npm run build
Expand Down

0 comments on commit 7839a82

Please sign in to comment.