File tree 2 files changed +44
-0
lines changed
2 files changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Deploy calendar to Pages
3
+
4
+ " on " :
5
+ push :
6
+ branches : ["main"]
7
+ workflow_dispatch :
8
+
9
+ permissions :
10
+ contents : read
11
+ pages : write
12
+ id-token : write
13
+
14
+ concurrency :
15
+ group : " pages"
16
+ cancel-in-progress : false
17
+
18
+ jobs :
19
+ deploy :
20
+ environment :
21
+ name : github-pages
22
+ url : ${{ steps.deployment.outputs.page_url }}
23
+ runs-on : ubuntu-latest
24
+ steps :
25
+ - name : Checkout
26
+ uses : actions/checkout@v4
27
+ - name : Setup Pages
28
+ uses : actions/configure-pages@v5
29
+ - name : Setup Python
30
+ uses : actions/setup-python@v4
31
+ - name : Install dependencies
32
+ run : pip install yaml2ics
33
+ - name : Generate osism.ics
34
+ run : yaml2ics main.yml > calendar/osism.ics
35
+ - name : Copy README.md file
36
+ run : cp README.md calendar/README.md
37
+ - name : Upload osism.ics
38
+ uses : actions/upload-pages-artifact@v3
39
+ with :
40
+ path : calendar
41
+ - name : Deploy to GitHub Pages
42
+ id : deployment
43
+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change
1
+ osism.ics
You can’t perform that action at this time.
0 commit comments