-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (38 loc) · 1021 Bytes
/
scheduled_build.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
name: Scheduled Build
on:
schedule:
- cron: "0 */4 * * *"
jobs:
build:
name: 'build container'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- uses: actions/setup-python@v4
with:
python-version: 3.10.11
- name: Run image
uses: abatilo/actions-poetry@v2
with:
poetry-version: 1.3.2
- name: View poetry
run: poetry install && poetry run ./feedme.py
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
name: tmp.html
path: ./tmp.html
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: tmp.html
- name: Copy artifact to repository
run: |
mv tmp.html index.html
git config user.name "Douglas Land"
git config user.email [email protected]
git add index.html
git commit -m "update index.html"
git push