File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,12 +39,13 @@ jobs:
3939
4040 - name : Push to hosting
4141 run : |
42- git clone https://github.com/melxin/devious-hosting.git
43- cp -r ./runelite-client/build/bootstrap/. ./devious-hosting
42+ git clone --depth 1 https://github.com/melxin/devious-hosting.git
43+ rsync -av --delete ./runelite-client/build/bootstrap/. ./devious-hosting
4444 cd devious-hosting
4545
4646 git config --global user.email "melxin@tutamail.com"
4747 git config --global user.name "Github Actions"
48+ git checkout master || git checkout -b master
4849 git add -A
4950 git commit -m 'Auto release - Client (Snapshot)'
5051 git push https://melxin:${{ secrets.REPO_PAT }}@github.com/melxin/devious-hosting.git master
Original file line number Diff line number Diff line change @@ -39,12 +39,13 @@ jobs:
3939
4040 - name : Push to hosting
4141 run : |
42- git clone https://github.com/melxin/devious-hosting.git
43- cp -r ./runelite-client/build/bootstrap/. ./devious-hosting
42+ git clone --depth 1 https://github.com/melxin/devious-hosting.git
43+ rsync -av --delete ./runelite-client/build/bootstrap/. ./devious-hosting
4444 cd devious-hosting
4545
4646 git config --global user.email "melxin@tutamail.com"
4747 git config --global user.name "Github Actions"
48+ git checkout master || git checkout -b master
4849 git add -A
4950 git commit -m 'Auto release - Client (Experimental)'
5051 git push https://melxin:${{ secrets.REPO_PAT }}@github.com/melxin/devious-hosting.git master
Original file line number Diff line number Diff line change @@ -39,12 +39,13 @@ jobs:
3939
4040 - name : Push to hosting
4141 run : |
42- git clone https://github.com/melxin/devious-hosting.git
43- cp -r ./runelite-client/build/bootstrap/. ./devious-hosting
42+ git clone --depth 1 https://github.com/melxin/devious-hosting.git
43+ rsync -av --delete ./runelite-client/build/bootstrap/. ./devious-hosting
4444 cd devious-hosting
4545
4646 git config --global user.email "melxin@tutamail.com"
4747 git config --global user.name "Github Actions"
48+ git checkout master || git checkout -b master
4849 git add -A
4950 git commit -m 'Auto release - Client (Stable)'
5051 git push https://melxin:${{ secrets.REPO_PAT }}@github.com/melxin/devious-hosting.git master
You can’t perform that action at this time.
0 commit comments