-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 891 Bytes
/
python-publish.yml
File metadata and controls
38 lines (35 loc) · 891 Bytes
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
name: Auto Today's Codeforces Problems (Daliy)
on:
schedule:
- cron: '0 20 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: main
- name: Setup Python
uses: actions/setup-python@v1
with:
python-version: '3.x'
architecture: 'x64'
- name: Setup pip
run: |
python -m pip install --upgrade pip
pip install pytz
pip install requests
- name: PICK
run: |
python ./makeProblem.py
- name: Commits
run: |
git config --local user.email "ika7204@naver.com"
git config --local user.name "ika9810"
git add .
git commit -m "⚙️[Daliy]Today's Daliy Codeforces Problems⚙️"
- name: Push
uses: ad-m/github-push-action@master
with:
branch: 'main'
github_token: $