Skip to content

fix: test

fix: test #6

Workflow file for this run

name: Updater
on:
push:
branches:
- main
schedule:
# Run every day at 00:00 UTC
- cron: '0 0 * * *'
# Allow manual running as well
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: bun install
name: Install dependencies
- run: bun run src/index.ts
name: Update things
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
# Commit any changes back to the project
- name: Commit changes
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "Michael Hillcox"
git add .
git status
ls -la
git diff --quiet --exit-code || git commit -m "Update things"
git push