OTA: update miatoll #314
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: post-bot | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
postman: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Dep | |
run: sudo pip install pyTelegramBotAPI | |
- name: Checkout Repo | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
ref: 14 | |
- name: Bot | |
run: sudo -E python3 .github/scripts/post.py | |
env: | |
BOT_API: ${{ secrets.BOT_API }} | |
CHAT: ${{ secrets.CHAT }} | |
- name: Commit and Push Changes | |
run: sudo bash .github/scripts/push.sh |