2024-03-03 21:52:22 +01:00
|
|
|
name: Synchronize data
|
|
|
|
|
|
|
|
on:
|
|
|
|
schedule:
|
|
|
|
- cron: '0 */1 * * *'
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
id-token: write
|
|
|
|
pages: write
|
|
|
|
actions: write
|
|
|
|
|
|
|
|
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: make sync
|
2024-03-03 21:55:14 +01:00
|
|
|
env:
|
2024-03-03 21:58:05 +01:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GH_PROJECTS_SECRET }}
|
2024-03-03 21:52:22 +01:00
|
|
|
|
|
|
|
- uses: EndBug/add-and-commit@v9
|
|
|
|
with:
|
|
|
|
default_author: github_actions
|