Skip to content

Commit afed76b

Browse files
authored
Merge pull request #22 from intersystems-community/stage
Stage
2 parents 95b2849 + e580218 commit afed76b

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.github/workflows/trigger-deploy.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# This workflow triggers deployment workflow in 'zpm-registry-deployment' repo
2+
# It was decided to separate them
3+
name: Trigger ZPM deployment
4+
5+
on:
6+
push:
7+
branches:
8+
# - master
9+
- stage
10+
# release:
11+
# types:
12+
# - created
13+
14+
jobs:
15+
trigger-zpm-deployment:
16+
name: Trigger zpm-registry-deployment via REST API
17+
runs-on: ubuntu-18.04
18+
19+
steps:
20+
- name: REST POST call
21+
run: |-
22+
curl -X POST https://api.github.com/repos/intersystems-community/zpm-registry-deployment/dispatches \
23+
-H 'Accept: application/vnd.github.everest-preview+json' \
24+
--user ${{ secrets.PAT_USERNAME }}:${{ secrets.PAT }} \
25+
--data "{\"event_type\": \"${{ github.event_name }}\", \"client_payload\": { \"zpm_ref_orig\": \"${GITHUB_REF##*/}\", \"zpm_commit_sha_orig\": \"$GITHUB_SHA\" }}"
26+

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,11 @@ Import classes from cls and run Installer from Root
1717
## Docker Installation
1818
Build docker container
1919

20+
## ZPM Installation
21+
`install zpm-registry`
22+
2023
# Usage
21-
ZPM Registry exposes REST API, which perfoms listing, publising and deployment services. You can examine the REST in the source class [REgistry.cls](https://github.com/intersystems-community/zpm-registry/blob/master/src/cls/ZPM/Registry.cls) or via Swagger
24+
ZPM Registry exposes REST API, which perfoms listing, publising and deployment services. You can examine the REST in the source class [Registry.cls](https://github.com/intersystems-community/zpm-registry/blob/master/src/cls/ZPM/Registry.cls) or via Swagger
2225

2326
Note, when you publish the repo via API you need to provide the GIthub URL of the repo, which will contain module.xml.
2427
And published package will remember the repository and will not allow to publish/update package with the same name but with another repository.

0 commit comments

Comments
 (0)