File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ schedule :
3+ - cron : " 0 1 * * *"
4+ workflow_dispatch :
5+
6+ # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
7+ permissions :
8+ contents : read
9+ pages : write
10+ id-token : write
11+
12+ jobs :
13+ build :
14+ runs-on : ubuntu-latest
15+
16+ steps :
17+ - name : Download info.json
18+ run : curl -o info.json https://static.etherpad.org/info.json
19+ - name : Download plugins
20+ run : curl -o plugins.json https://static.etherpad.org/plugins.json
21+ - name : Put to assets
22+ run : |
23+ mkdir -p assets
24+ mv info.json plugins.json assets/
25+ - name : Upload artifact
26+ uses : actions/upload-pages-artifact@v3.0.1
27+ with :
28+ path : ' ./assets'
29+ - name : Deploy to GitHub Pages
30+ id : deployment
31+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments