Skip to content

Commit

Permalink
github ci: add deploy-c3 step to bindings.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Feb 10, 2025
1 parent 394ea32 commit 32a2c34
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/gen_bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 32a2c34

Please sign in to comment.