-
Notifications
You must be signed in to change notification settings - Fork 1
44 lines (37 loc) · 1.01 KB
/
populate.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
name: populate and push
#on: push
on:
workflow_dispatch:
inputs:
name:
description: 'dummy'
required: true
default: 'dummy'
jobs:
populate_torrents:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Run image
uses: abatilo/[email protected]
# #with:
# poetry-version: ${{ matrix.poetry-version }}
- name: make env - run poetry install
run: make env
- name: populate - find new torrents
run: make populate
- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<[email protected]>"
- name: git st
run: git status
- name: git add
run: git add -f data/ltc.sqlite output/torrent.json output/torrent.html
- name: git commit
run: git commit -m "auto update at $(date)"
- name: git push
run: git push