fix(ci): use raw git push for GitHub mirror
ad-m/github-push-action chokes on secret substitution in act_runner. Use plain git commands instead — no third-party action needed.
This commit is contained in:
parent
6346fb7155
commit
8a7b840b69
1 changed files with 3 additions and 6 deletions
|
|
@ -15,9 +15,6 @@ jobs:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Push to GitHub mirror
|
- name: Push to GitHub mirror
|
||||||
uses: https://github.com/ad-m/github-push-action@master
|
run: |
|
||||||
with:
|
git remote add github "https://x-access-token:${{ secrets.GH_MIRROR_TOKEN }}@github.com/metamorphosis-dev/kafka.git"
|
||||||
github_token: ${{ secrets.GH_MIRROR_TOKEN }}
|
git push github "${{ github.ref_name }}" --force
|
||||||
repository: metamorphosis-dev/gosearch
|
|
||||||
branch: ${{ github.ref_name }}
|
|
||||||
force: true
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue