Skip to content

Create LICENSE

Create LICENSE #5

Workflow file for this run

name: "Pull submodule / Push to deploy branch"
on:
push:
branches:
- main
jobs:
pull_submodule_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: true
- 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 -r telegram-bot-api
git rm .gitmodules
rm -rf telegram-bot-api/.git
git add telegram-bot-api
git commit -m "Checkout repo + submodule, add all and commit"
git push origin deploy -f