mirror of
https://github.com/web3privacy/news.git
synced 2024-10-15 18:06:26 +02:00
30 lines
551 B
YAML
30 lines
551 B
YAML
|
name: Synchronize repo
|
||
|
|
||
|
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
|
||
|
|
||
|
- uses: EndBug/add-and-commit@v9
|
||
|
with:
|
||
|
default_author: github_actions
|