Skip to content

Try init

Try init #6

Workflow file for this run

name: Push
on:
push:
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
submodules: 'recursive'
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Run main.py
run: python main.py
- name: Update submodules
run: |
git submodule init
git submodule update --remote
- name: Push changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "github-actions"
git add .
git commit -a -m "Update: ${{ github.event.head_commit.message }}"
git push