diff --git a/.github/workflows/update-samples.yml b/.github/workflows/update-samples.yml index 449bda63e..449eac1c3 100644 --- a/.github/workflows/update-samples.yml +++ b/.github/workflows/update-samples.yml @@ -15,6 +15,7 @@ jobs: run: git config --global user.name "Robbot" - name: Set email run: git config --global user.email "robbot2019@robdangero.us" + - name: Clone Samples run: git clone https://github.com/Kode/Kinc-Samples.git - name: Get Kinc-Submodule @@ -34,7 +35,28 @@ jobs: run: git push https://Kode-Robbot:$ROBBOT_PASS@github.com/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:$ROBBOT_PASS@github.com/Kode/KincKong-Samples.git + env: + ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} + + - name: Clone Switch Samples run: git clone https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-Switch.git env: ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }}