This commit is contained in:
parent
2886d85bf5
commit
923495fa20
10
.github/github_pushback.sh
vendored
10
.github/github_pushback.sh
vendored
@ -16,14 +16,14 @@ ssh-keyscan -H git.pika-os.com >> ~/.ssh/known_hosts
|
||||
# Commit changes to git
|
||||
git config --global user.name 'Github Gitea Push Back Key - Cosmo'
|
||||
git config --global user.email 'cosmo@pika-os.com'
|
||||
#git config --global --add safe.directory /__w/gitea-pika-first-setup/gitea-pika-first-setup
|
||||
#git config --global --add safe.directory /__w/gitea-pika-drivers/gitea-pika-drivers
|
||||
|
||||
git clone git@git.pika-os.com:custom-gui-packages/pika-first-setup
|
||||
git clone git@git.pika-os.com:custom-gui-packages/pika-drivers
|
||||
|
||||
rm -rfv ./gitea-pika-first-setup/.git
|
||||
cp -rfv ./pika-first-setup/.git ./gitea-pika-first-setup/
|
||||
rm -rfv ./gitea-pika-drivers/.git
|
||||
cp -rfv ./pika-drivers/.git ./gitea-pika-drivers/
|
||||
|
||||
cd ./gitea-pika-first-setup
|
||||
cd ./gitea-pika-drivers
|
||||
git add .
|
||||
git commit -am"Github Mirror Push Back"
|
||||
#git config pull.rebase true
|
||||
|
4
.github/workflows/github-pushback.yml
vendored
4
.github/workflows/github-pushback.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Run
|
||||
run: git clone https://github.com/PikaOS-Linux/gitea-pika-first-setup
|
||||
run: git clone https://github.com/PikaOS-Linux/gitea-pika-drivers
|
||||
|
||||
- name: Run
|
||||
run: ./gitea-pika-first-setup/.github/github_pushback.sh
|
||||
run: ./gitea-pika-drivers/.github/github_pushback.sh
|
||||
|
Loading…
x
Reference in New Issue
Block a user