Skip to content

rsjs-master-updated

rsjs-master-updated #9

name: Update rs.js submodule
on:
repository_dispatch:
types: [rsjs-master-updated]
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ssh-key: ${{secrets.RS_WEBSITE_DEPLOY}}
submodules: true
- name: Update Submodule
run: |
git submodule update --remote rs.js
git config --global user.name 'GitHub Action'
git config --global user.email '[email protected]'
git add .
git commit -m "Update rs.js" || echo "No changes to commit"
git push