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
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- 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:
|
|
|
|
default_author: github_actions
|