Skip to content

Commit

Permalink
Update Registrator workflow (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtfishman authored Feb 15, 2025
1 parent 685eb92 commit dd5554f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/Register.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/Registrator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Register Package
on:
workflow_dispatch:
pull_request:
types:
- closed
paths:
- 'Project.toml'
branches:
- 'master'
- 'main'

permissions:
contents: write
pull-requests: write

jobs:
Register:
if: github.event_name == 'workflow_dispatch' || github.event.pull_request.merged == true
uses: "ITensor/ITensorActions/.github/workflows/Registrator.yml@main"
with:
localregistry: ITensor/ITensorRegistry
secrets:
REGISTRATOR_KEY: ${{ secrets.REGISTRATOR_KEY }}

0 comments on commit dd5554f

Please sign in to comment.