Skip to content

Commit f57c491

Browse files
committed
Download workflows - make it the cron job
1 parent 0ce7b67 commit f57c491

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/donwload-data.yaml

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
name: Download data
22

33
on:
4-
push:
5-
branches:
6-
- main # todo: change to periodical
4+
schedule:
5+
- cron: '0 6 * * 1' # run every monday at 6:00
76

87
jobs:
98
download-and-upload:

README.md

+11
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,14 @@ Skupnost je vzpostavljena na tem repozitoriju v [zavihku Issues](https://github.
3636

3737
Za komentiranje in odpiranje razprave mora uporabnik ustvariti račun na platformi GitHub.
3838

39+
## Document repository
40+
41+
The document repository with automatically downloaded documents is available
42+
[here](https://biolab.github.io/text-semantics/). It is served from the `gh-pages`
43+
branch on this repository.
44+
45+
About architecture:
46+
- The `download-data` workflow for the main branch retrieves new data every Monday
47+
morning and pushes them to the `gh-pages` branch.
48+
- After each push to the `gh-pages` brach, another workflow is run that indexes
49+
the data and creates index pages for each directory (that user can browse data through the browser)

0 commit comments

Comments
 (0)