Skip to content

.github/workflows/build-web-infos.yaml #5

.github/workflows/build-web-infos.yaml

.github/workflows/build-web-infos.yaml #5

on:
schedule:
- cron: "0 1 * * *"
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Download info.json
run: curl -o info.json https://static.etherpad.org/info.json
- name: Download plugins
run: curl -o plugins.json https://static.etherpad.org/plugins.json
- name: Put to assets
run: |
mkdir -p assets
mv info.json plugins.json assets/
- name: Upload artifact
uses: actions/[email protected]
with:
path: './assets'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4