Skip to content

Commit 8dee9b1

Browse files
committed
(chore) Fix GHA workflows
1 parent 311ffcf commit 8dee9b1

2 files changed

Lines changed: 15 additions & 15 deletions

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
11
name: OpenMRS CI
22

33
on:
4+
workflow_dispatch: # temporary, for debugging
45
push:
56
branches: [main]
67
pull_request:
78
branches: [main]
9+
release:
10+
types:
11+
- created
12+
13+
concurrency:
14+
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
15+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
816

917
jobs:
1018
build:
1119
uses: openmrs/openmrs-contrib-gha-workflows/.github/workflows/build-frontend-module.yml@main
20+
21+
release:
22+
needs: build
23+
uses: openmrs/openmrs-contrib-gha-workflows/.github/workflows/release-frontend-module.yml@main
24+
secrets:
25+
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
26+
BOT_PAT: ${{ secrets.OMRS_BOT_GH_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)