Skip to content

feat: include debug cmd in errors #10

feat: include debug cmd in errors

feat: include debug cmd in errors #10

name: "Pull submodule / Push to deploy branch"
on:
push:
branches:
- main
jobs:
pull_submodule_and_deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: recursive
- name: Update commit author
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Push to deploy branch
run: |
git checkout -b deploy
git rm --cached hypernode
git rm .gitmodules
rm -rf hypernode/.git
rm -rf hypernode/circuits/.git
rm -rf hypernode/contracts/.git
rm -rf hypernode/data-aggregation-contracts/.git
git add hypernode
git commit -m "Checkout repo + submodule, add all and commit"
git push origin deploy -f