[davinci] Automatic update #1793
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: Poster | |
on: | |
push: | |
workflow_dispatch: | |
env: | |
BOT_API: ${{ secrets.BOT_API }} | |
TOKEN: ${{ secrets.TOKEN }} | |
SF_PASS: ${{ secrets.SF_PASS }} | |
jobs: | |
postman: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Dep | |
run: sudo pip install python-telegram-bot==13.15 firebase-admin | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
ref: fourteen | |
- name: Bot | |
run: sudo -E python3 .github/scripts/UpdatePoster | |
- name: Checkout Releases Public | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.TOKEN }} | |
repository: ${{ secrets.DOWNLOADS_REPO }} | |
path: releases-public | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
with: | |
repository: ${{ secrets.PRIV_REPO }} | |
path: priv | |
token: ${{ secrets.TOKEN }} | |
- name: Checkout Releases | |
uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.TOKEN }} | |
repository: ${{ secrets.CI_REPO }} | |
path: releases | |
- name: Uploader | |
run: sudo -E python3 .github/scripts/Uploader | |
env: | |
GITHUB_TOKEN: ${{ secrets.TOKEN }} | |
- name: Commit and Push Changes | |
run: sudo bash .github/scripts/push.sh |