-
Notifications
You must be signed in to change notification settings - Fork 26
47 lines (39 loc) · 1.11 KB
/
poster.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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
- name: Checkout Repo
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: thirteen
- name: Bot
run: sudo -E python3 .github/scripts/UpdatePoster
- name: Checkout Releases Public
uses: actions/checkout@v2
with:
token: ${{ secrets.TOKEN }}
repository: ${{ secrets.DOWNLOADS_REPO }}
path: releases-public
- name: Checkout Releases
uses: actions/checkout@v2
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