Skip to content

Commit 69405d9

Browse files
authored
Update Registrator workflow (#4)
1 parent c75b605 commit 69405d9

File tree

2 files changed

+24
-16
lines changed

2 files changed

+24
-16
lines changed

.github/workflows/Register.yml

-16
This file was deleted.

.github/workflows/Registrator.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Register Package
2+
on:
3+
workflow_dispatch:
4+
pull_request:
5+
types:
6+
- closed
7+
paths:
8+
- 'Project.toml'
9+
branches:
10+
- 'master'
11+
- 'main'
12+
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
17+
jobs:
18+
Register:
19+
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
20+
uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main"
21+
with:
22+
localregistry: ITensor/ITensorRegistry
23+
secrets:
24+
REGISTRATOR_KEY: ${{ secrets.REGISTRATOR_KEY }}

0 commit comments

Comments
 (0)