mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
chore: delete sync.yml
This commit is contained in:
parent
c923b094af
commit
3bf74c55ff
1 changed files with 0 additions and 26 deletions
26
.github/workflows/sync.yml
vendored
26
.github/workflows/sync.yml
vendored
|
@ -1,26 +0,0 @@
|
||||||
name: Sync
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: "**"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
sync:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Check out Git repository
|
|
||||||
uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Sync with remote repository
|
|
||||||
run: |
|
|
||||||
rm -rf .git
|
|
||||||
git init
|
|
||||||
git remote add origin https://hydralauncher:${{ secrets.HYDRA_GITHUB_SECRET }}@github.com/hydralauncher/hydra
|
|
||||||
git config --global init.defaultBranch main
|
|
||||||
git config --global user.name "GitHub Actions"
|
|
||||||
git config --global user.email "<>"
|
|
||||||
git checkout -b main
|
|
||||||
git add .
|
|
||||||
git commit -a -m "$GITHUB_SHA"
|
|
||||||
git push origin main --force
|
|
Loading…
Add table
Add a link
Reference in a new issue