Skip to content

Commit 3133bb3

Browse files
authored
Update push.yml
1 parent 5e3917d commit 3133bb3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/push.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
run: |
1616
cd ..
1717
git clone 'https://${{secrets.PERSONAL_GHP}}@github.com/Xcube-Studio/Natsurainko.FluentLauncher.git'
18+
19+
- name: Create new branch
20+
run: |
21+
cd ../Natsurainko.FluentLauncher/Natsurainko.FluentLauncher/
22+
git checkout -b "LocalizationProject/${{github.sha}}"
1823
1924
- name: Copy String to FluentLauncher
2025
run: Copy-Item -Path "./Strings" -Destination "../Natsurainko.FluentLauncher/Natsurainko.FluentLauncher/" -Force
@@ -25,10 +30,8 @@ jobs:
2530
git config --global user.email "github-actions[bot]@users.noreply.github.com"
2631
git config --global user.name "GitHub-actions[bot]"
2732
28-
- name: Create new branch
29-
run: |
30-
cd ../Natsurainko.FluentLauncher/Natsurainko.FluentLauncher/
31-
git checkout -b "LocalizationProject/${{github.sha}}"
33+
- name: Create new Commit
34+
run: |
3235
git add -A
3336
git commit -m "LocalizationProject/${{github.sha}} From github action"
3437
git push origin "LocalizationProject/${{github.sha}}"

0 commit comments

Comments
 (0)