Skip to content

Commit

Permalink
fix(justfile): add commands to set fast-forward variables
Browse files Browse the repository at this point in the history
Signed-off-by: Cameron Smith <[email protected]>
  • Loading branch information
cameronraysmith committed Jul 10, 2024
1 parent ed9b0d1 commit e3a12ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ ghvars repo="cameronraysmith/nixpod":
PAGER=cat gh variable list --repo={{ repo }}
@echo
gh variable set CACHIX_CACHE_NAME --repo={{ repo }} --body="$CACHIX_CACHE_NAME"
gh variable set FAST_FORWARD_ACTOR --repo={{ repo }} --body="$FAST_FORWARD_ACTOR"
@echo
@echo vars after updates:
@echo
Expand All @@ -260,7 +261,8 @@ ghsecrets repo="cameronraysmith/nixpod":
@echo
eval "$(teller sh)" && \
gh secret set CACHIX_AUTH_TOKEN --repo={{ repo }} --body="$CACHIX_AUTH_TOKEN" && \
gh secret set ARTIFACT_REGISTRY_PASSWORD --repo={{ repo }} --body="$ARTIFACT_REGISTRY_PASSWORD"
gh secret set ARTIFACT_REGISTRY_PASSWORD --repo={{ repo }} --body="$ARTIFACT_REGISTRY_PASSWORD" && \
gh secret set FAST_FORWARD_PAT --repo={{ repo }} --body="$FAST_FORWARD_PAT"
@echo
@echo secrets after updates:
@echo
Expand Down

0 comments on commit e3a12ca

Please sign in to comment.