File tree 4 files changed +842
-2
lines changed
4 files changed +842
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
permissions :
10
10
contents : read
11
- pages : write
12
- id-token : write
13
11
14
12
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
15
13
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
23
21
steps :
24
22
- name : Checkout
25
23
uses : actions/checkout@v4
24
+
25
+ # Generate event posts by reading them from the UofTCoders/Events issues.
26
+ - name : Set up Python
27
+ uses : actions/setup-python@v5
28
+ with :
29
+ python-version : 3.12
30
+ - name : Install pipenv
31
+ run : pip install pipenv
32
+ - name : Publish events
33
+ working-directory : scripts
34
+ env :
35
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
+ run : |
37
+ pipenv install
38
+ pipenv run publish_events
39
+
26
40
- name : Setup Pages
27
41
uses : actions/configure-pages@v4
28
42
- name : Build with Jekyll
34
48
uses : actions/upload-pages-artifact@v3
35
49
36
50
deploy :
51
+ permissions :
52
+ contents : read
53
+ pages : write
54
+ id-token : write
55
+
37
56
environment :
38
57
name : github-pages
39
58
url : ${{ steps.deployment.outputs.page_url }}
Original file line number Diff line number Diff line change
1
+ [[source ]]
2
+ url = " https://pypi.org/simple"
3
+ verify_ssl = true
4
+ name = " pypi"
5
+
6
+ [packages ]
7
+ pygithub = " *"
8
+ dateparser = " *"
9
+ python-frontmatter = " *"
10
+ cmarkgfm = " *"
11
+
12
+ [dev-packages ]
13
+
14
+ [requires ]
15
+ python_version = " 3.12"
16
+ python_full_version = " 3.12.1"
17
+
18
+ [scripts ]
19
+ publish_events = " python publish_events.py ../_posts/ failures.yml"
You can’t perform that action at this time.
0 commit comments