Skip to content

.github/workflows/updatedevices.yml #807

.github/workflows/updatedevices.yml

.github/workflows/updatedevices.yml #807

Workflow file for this run

on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
update_roms:
runs-on: ubuntu-latest
steps:
- uses: denoland/setup-deno@v1
with:
deno-version: vx.x.x
- name: Checkout sources
uses: actions/checkout@v2
with:
submodules: true
- run: ls
- name: do things
env:
SECRET: ${{ secrets.SECRET }}
run: |
rm -rf devices/ && mkdir devices/
sh ./scripts/setup.sh
deno run -A --no-check clone_repos.ts
deno run -A --no-check updatelist.ts
# deno run -A --no-check processImages.ts
timestamp=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "feat: update roms ${timestamp}"
git push