-
Notifications
You must be signed in to change notification settings - Fork 3
34 lines (32 loc) · 1.1 KB
/
update-resource-page.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Update resource page
on:
workflow_dispatch:
schedule:
- cron: '0 8 * * *'
jobs:
run-r-script:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
pull-requests: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
# This helps override the branch protection later
token: ${{ secrets.SUDO_GITHUB_TOKEN }}
- name: Collect resource data
run: node _scripts/resource-retrieval-graphql Resources
- uses: quarto-dev/quarto-actions/setup@v2
with:
version: pre-release
- name: Re-render resource page
run: quarto render resources.qmd
- uses: EndBug/add-and-commit@v9
with:
author_name: epiverse-trace-bot
author_email: [email protected]
message: "Update `./resources/`"
add: './resources/'