Skip to content

Commit

Permalink
Also automatically update the KincKong-Samples
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Oct 4, 2023
1 parent 58b18fd commit b171ead
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion .github/workflows/update-samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
run: git config --global user.name "Robbot"
- name: Set email
run: git config --global user.email "[email protected]"

- name: Clone Samples
run: git clone https://github.com/Kode/Kinc-Samples.git
- name: Get Kinc-Submodule
Expand All @@ -34,7 +35,28 @@ jobs:
run: git push https://Kode-Robbot:[email protected]/Kode/Kinc-Samples.git
env:
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }}
- name: Clone Samples

- name: Clone Kong Samples
run: git clone https://github.com/Kode/KincKong-Samples.git
- name: Get Kinc-Submodule
working-directory: KincKong-Samples
run: git submodule update --init --remote Kinc
- name: Checkout Kinc
working-directory: KincKong-Samples/Kinc
run: git checkout main
- name: Add Kinc
working-directory: KincKong-Samples
run: git add Kinc
- name: Commit
working-directory: KincKong-Samples
run: git commit -m "Update Kinc"
- name: Push
working-directory: KincKong-Samples
run: git push https://Kode-Robbot:[email protected]/Kode/KincKong-Samples.git
env:
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }}

- name: Clone Switch Samples
run: git clone https://Kode-Robbot:[email protected]/Kode/Kinc-Samples-Switch.git
env:
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }}
Expand Down

0 comments on commit b171ead

Please sign in to comment.