sync workflow

This commit is contained in:
tree🌴 2024-02-13 14:16:12 +01:00
parent 004e7a18db
commit 68367e26b6
2 changed files with 33 additions and 0 deletions

30
.github/workflows/sync.yaml vendored Normal file
View File

@ -0,0 +1,30 @@
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

View File

@ -9,5 +9,8 @@ frontend:
readme:
deno run --allow-all utils/readme.js
sync:
make readme
compile:
cp -r web/dist/** dist