diff options
| author | Andre Weissflog <floooh@gmail.com> | 2025-02-10 12:57:33 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2025-02-10 12:57:33 +0100 |
| commit | 32a2c34b0c540c674deaf18f1caa3299887d3a7f (patch) | |
| tree | 92420559d4b367cc0b0a31de87a862097c2a4ede /.github | |
| parent | 394ea32b16a34f042a3799c9ae6d8a8c03357bf3 (diff) | |
github ci: add deploy-c3 step to bindings.yml
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/gen_bindings.yml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/gen_bindings.yml b/.github/workflows/gen_bindings.yml index 56c57c9c..5666bff4 100644 --- a/.github/workflows/gen_bindings.yml +++ b/.github/workflows/gen_bindings.yml @@ -500,3 +500,24 @@ jobs: git add -A git diff-index --quiet HEAD || git commit -m "updated (https://github.com/floooh/sokol/commit/${{ github.sha }})" git push + + deploy-c3: + needs: test-c3 + if: github.ref == 'refs/heads/master' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@main + with: + repository: floooh/sokol-c3 + ssh-key: ${{ secrets.GHACTIONS_C3_PUSH }} + - uses: actions/download-artifact@main + with: + name: ignore-me-c3 + path: sokol.c3l + - name: "commit and push" + run: | + git config user.email "none" + git config user.name "GH Action" + git add -A + git diff-index --quiet HEAD || git commit -m "updated (https://github.com/floooh/sokol/commit/${{ github.sha }})" + git push |