feat: remove manual trigger option from build workflow #21
This file contains hidden or 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: AE Docs Updater Program Build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup bun | |
uses: oven-sh/setup-bun@v2 | |
- name: Install dependencies | |
run: bun install | |
- name: Compile | |
run: bun build --compile --minify --env=disable main.ts --outfile program | |
- name: Push Program | |
run: | | |
git config user.name "GitHub Docs Updater Program Build Bot" | |
git config user.email "<>" | |
git config push.autoSetupRemote true | |
git pull origin master --ff | |
git add program | |
git commit -m "Build program" || true | |
git push |