mirror of
https://github.com/web3privacy/data
synced 2024-10-15 18:16:28 +02:00
Create data-refresh.yml
This commit is contained in:
parent
290dd3a019
commit
66bcfc52d6
1 changed files with 38 additions and 0 deletions
38
.github/workflows/data-refresh.yml
vendored
Normal file
38
.github/workflows/data-refresh.yml
vendored
Normal file
|
@ -0,0 +1,38 @@
|
|||
name: Full data refresh
|
||||
# This file manages the workflow for running all processes within the MAKEFILE, to refresh the codebase.
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 1 * *'
|
||||
workflow_run:
|
||||
workflows: ["Synchronize data"]
|
||||
types:
|
||||
- completed
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
id-token: write
|
||||
pages: write
|
||||
actions: write
|
||||
|
||||
jobs:
|
||||
refresh-data:
|
||||
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
|
||||
- uses: szenius/set-timezone@v2.0
|
||||
with:
|
||||
timezoneLinux: "Europe/Prague"
|
||||
- name: Run all MAKEFILE jobs
|
||||
run: make all
|
||||
- name: Upload GitHub Pages artifact
|
||||
uses: actions/upload-pages-artifact@v3.0.1
|
||||
with:
|
||||
path: ./dist
|
||||
with:
|
||||
default_author: github_actions
|
Loading…
Reference in a new issue