We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ada637e commit 400274bCopy full SHA for 400274b
1 file changed
.github/workflows/build-web-infos.yml
@@ -0,0 +1,31 @@
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
0 commit comments