Add string #14
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: Submodule | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
update-submodule-branch: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Configure git | |
run: | | |
git config --global user.name "Raul Tapia" | |
git config --global user.email "[email protected]" | |
- name: Delete submodule branch | |
run: | | |
git push origin --delete submodule | |
continue-on-error: true | |
- name: Publish into submodule branch | |
run: | | |
mv include/rush/*.hpp . | |
rm -rf .github include .gitignore Doxyfile LICENSE README.md | |
git checkout -b submodule | |
git add . | |
git commit --amend -m "Auto-update RUSH" | |
git push origin submodule |