Point submodules #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Update Samples | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set name | |
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 | |
working-directory: Kinc-Samples | |
run: git submodule update --init --remote Kinc | |
- name: Checkout Kinc | |
working-directory: Kinc-Samples/Kinc | |
run: git checkout main | |
- name: Add Kinc | |
working-directory: Kinc-Samples | |
run: git add Kinc | |
- name: Commit | |
working-directory: Kinc-Samples | |
run: git commit -m "Update Kinc" | |
- name: Push | |
working-directory: Kinc-Samples | |
run: git push https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples.git | |
env: | |
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} | |
- 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 }} | |
- name: Get Kinc-Submodule | |
working-directory: Kinc-Samples-Switch | |
run: git submodule update --init --remote Kinc | |
- name: Checkout Kinc | |
working-directory: Kinc-Samples-Switch/Kinc | |
run: git checkout main | |
- name: Add Kinc | |
working-directory: Kinc-Samples-Switch | |
run: git add Kinc | |
- name: Commit | |
working-directory: Kinc-Samples-Switch | |
run: git commit -m "Update Kinc" | |
- name: Push | |
working-directory: Kinc-Samples-Switch | |
run: git push https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-Switch.git | |
env: | |
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} | |
- name: Clone PS4 Samples | |
run: git clone https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-PS4.git | |
env: | |
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} | |
- name: Get Kinc-Submodule | |
working-directory: Kinc-Samples-PS4 | |
run: git submodule update --init --remote Kinc | |
- name: Checkout Kinc | |
working-directory: Kinc-Samples-PS4/Kinc | |
run: git checkout main | |
- name: Add Kinc | |
working-directory: Kinc-Samples-PS4 | |
run: git add Kinc | |
- name: Commit | |
working-directory: Kinc-Samples-PS4 | |
run: git commit -m "Update Kinc" | |
- name: Push | |
working-directory: Kinc-Samples-PS4 | |
run: git push https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-PS4.git | |
env: | |
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} | |
- name: Clone PS5 Samples | |
run: git clone https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-PS5.git | |
env: | |
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} | |
- name: Get Kinc-Submodule | |
working-directory: Kinc-Samples-PS5 | |
run: git submodule update --init --remote Kinc | |
- name: Checkout Kinc | |
working-directory: Kinc-Samples-PS5/Kinc | |
run: git checkout main | |
- name: Add Kinc | |
working-directory: Kinc-Samples-PS5 | |
run: git add Kinc | |
- name: Commit | |
working-directory: Kinc-Samples-PS5 | |
run: git commit -m "Update Kinc" | |
- name: Push | |
working-directory: Kinc-Samples-PS5 | |
run: git push https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-PS5.git | |
env: | |
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} | |
- name: Clone Xbox Samples | |
run: git clone https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-Xbox.git | |
env: | |
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} | |
- name: Get Kinc-Submodule | |
working-directory: Kinc-Samples-Xbox | |
run: git submodule update --init --remote Kinc | |
- name: Checkout Kinc | |
working-directory: Kinc-Samples-Xbox/Kinc | |
run: git checkout main | |
- name: Add Kinc | |
working-directory: Kinc-Samples-Xbox | |
run: git add Kinc | |
- name: Commit | |
working-directory: Kinc-Samples-Xbox | |
run: git commit -m "Update Kinc" | |
- name: Push | |
working-directory: Kinc-Samples-Xbox | |
run: git push https://Kode-Robbot:$ROBBOT_PASS@github.com/Kode/Kinc-Samples-Xbox.git | |
env: | |
ROBBOT_PASS: ${{ secrets.ROBBOT_PASS }} |