Skip to content

Commit

Permalink
Update CI workflow for mirroring, hopefully it does not leak
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhalili2006 committed Jan 8, 2025
1 parent 0a2182d commit d78673e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/repo-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Dry-run
run: |
echo ::group::Running a dry-run of git filter-repo
git filter-repo --dry-run --path docker/*/stack.env --path config/**/* --invert-paths --force
git filter-repo --dry-run --path docker/*/stack.env --path config/**/* --path stack.env --invert-paths --force
echo ::endgroup::
echo ::group::Dry run results
Expand All @@ -40,7 +40,7 @@ jobs:
echo ::endgroup::
- name: Deploy
run: |
git filter-repo --path docker/*/stack.env --path config/**/* --invert-paths --force
git filter-repo --path docker/*/stack.env --path config/**/* --path stack.env --invert-paths --force
git remote add pub https://RecapTimeBot:${{env.RTDEVBOT_GITHUB_TOKEN}}@github.com/internal-recaptime-dev/infra-internals-public.git
git push pub --mirror
git remote remove pub

0 comments on commit d78673e

Please # to comment.