Skip to content

Working prototype#4

Open
andershus wants to merge 1 commit into
mainfrom
andershus/workflow_autoregister
Open

Working prototype#4
andershus wants to merge 1 commit into
mainfrom
andershus/workflow_autoregister

Conversation

@andershus

@andershus andershus commented Feb 28, 2023

Copy link
Copy Markdown
Contributor

Kan trigges med f.eks. curl:

curl \
  -X POST \
  -H "Accept: application/vnd.github+json" \
  -H "Authorization: Bearer $GH_TOKEN"\
  -H "X-GitHub-Api-Version: 2022-11-28" \
  https://api.github.com/repos/bkkp/flake-registry/actions/workflows/register.yml/dispatches \
  -d '{"ref":"main","inputs":{"repository_full_name":"bkkp/<repository>","flake_name":"<flake_name>"}}'

eller gh cli

gh workflow run register.yml -f repository_full_name=bkkp/<repository> -f flake_name=<flake_name> -R bkkp/flake-registry

@andershus andershus force-pushed the andershus/workflow_autoregister branch from 467a1ea to 9c7fa45 Compare March 1, 2023 08:08
@andershus andershus force-pushed the andershus/workflow_autoregister branch from 9c7fa45 to 090018e Compare March 1, 2023 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant