Pull Cataclysm-DDA data #2810
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pull Cataclysm-DDA data | |
on: | |
schedule: | |
- cron: '40 */12 * * *' | |
workflow_dispatch: {} | |
jobs: | |
pull-data: | |
name: Pull Cataclysm-DDA data | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
- run: yarn | |
- uses: actions/github-script@v7 | |
with: | |
script: | | |
const { default: run } = await import('${{ github.workspace }}/pull-data.mjs') | |
await run({ github, context }) |