Skip to content

Update resource page #113

Update resource page

Update resource page #113

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/'