Compare commits

...

2 Commits

Author SHA1 Message Date
Slipstreamm
ffdb922142 ci(mirror): Make mirror remote addition idempotent
Some checks failed
Deploy MkDocs / deploy (push) Has been cancelled
Wrap the `git remote add mirror` command in a conditional check.

This ensures the remote is only added if it doesn't already exist,
preventing potential errors if the command is executed multiple times
or if the remote is somehow already configured in the runner environment.
2025-06-13 00:30:31 -06:00
Slipstreamm
2b8f29bde2 chore(docs): Add CNAME file for custom domain configuration 2025-06-13 00:26:44 -06:00
2 changed files with 4 additions and 1 deletions

View File

@ -24,5 +24,7 @@ jobs:
env:
MIRROR_PAT: ${{ secrets.MIRROR_PAT }}
run: |
if ! git remote | grep -q "^mirror$"; then
git remote add mirror https://slipstream:${MIRROR_PAT}@git.slipstreamm.dev/slipstream/disagreement.git
fi
git push --mirror mirror

1
docs/CNAME Normal file
View File

@ -0,0 +1 @@
disagreement.xyz