web/.github/workflows/sync.yml

31 lines
559 B
YAML
Raw Permalink Normal View History

2024-01-25 22:42:07 +01:00
name: Synchronize data
on:
2024-01-26 00:23:23 +01:00
schedule:
- cron: '0 */3 * * *'
2024-01-25 22:42:07 +01:00
workflow_dispatch:
permissions:
2024-01-25 22:44:23 +01:00
contents: write
2024-01-25 22:42:07 +01:00
id-token: write
2024-01-25 22:50:24 +01:00
pages: write
2024-01-25 23:45:59 +01:00
actions: write
2024-01-25 22:42:07 +01:00
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout your repository using git
2024-08-23 21:26:44 +02:00
uses: actions/checkout@v4
2024-01-25 22:42:07 +01:00
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Run synchronization script
run: npm run sync-all
- uses: EndBug/add-and-commit@v9
with:
2024-08-23 21:26:44 +02:00
default_author: github_actions