Update app data #20
Workflow file for this run
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: Update app data | |
on: | |
pull_request: | |
workflow_dispatch: | |
defaults: | |
run: | |
working-directory: ./app | |
jobs: | |
update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Bun | |
uses: oven-sh/setup-bun@v1 | |
- if: runner.debug == '1' | |
uses: mxschmitt/action-tmate@v3 | |
- name: Install packages | |
run: bun install | |
- name: Run update | |
run: bun run update | |
- name: Commit updated data | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Update data" |