mirror of
https://github.com/web3privacy/web
synced 2024-10-15 18:26:27 +02:00
add sync workflow
This commit is contained in:
parent
326d56465f
commit
49266a146e
2 changed files with 28 additions and 1 deletions
27
.github/workflows/sync.yml
vendored
Normal file
27
.github/workflows/sync.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
name: Synchronize data
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
pages: write
|
||||||
|
id-token: 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: npm run sync-all
|
||||||
|
|
||||||
|
- uses: EndBug/add-and-commit@v9
|
||||||
|
with:
|
||||||
|
default_author: github_actions
|
|
@ -13,7 +13,7 @@
|
||||||
"articles": "deno run --allow-all utils/articles.js",
|
"articles": "deno run --allow-all utils/articles.js",
|
||||||
"talks": "deno run --allow-all utils/talks.js",
|
"talks": "deno run --allow-all utils/talks.js",
|
||||||
"explorer": "deno run --allow-all utils/explorer.js",
|
"explorer": "deno run --allow-all utils/explorer.js",
|
||||||
"all": "npm run core && npm run contribs && npm run articles && npm run talks && npm run explorer"
|
"sync-all": "npm run core && npm run contribs && npm run articles && npm run talks && npm run explorer"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/tailwind": "^5.0.2",
|
"@astrojs/tailwind": "^5.0.2",
|
||||||
|
|
Loading…
Reference in a new issue