Skip to content

Working prototype #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

andershus
Copy link
Contributor

@andershus andershus commented Feb 28, 2023

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