mirror of
https://github.com/web3privacy/data
synced 2024-10-15 18:16:28 +02:00
32 lines
625 B
YAML
32 lines
625 B
YAML
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@v4
|
|
|
|
- uses: denoland/setup-deno@v1
|
|
with:
|
|
deno-version: v1.x
|
|
|
|
- name: Run synchronization script
|
|
run: make sync
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GH_PROJECTS_SECRET }}
|
|
|
|
- uses: EndBug/add-and-commit@v9
|
|
with:
|
|
default_author: github_actions
|