API KBBI Daring & API KBBI Luring #48
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: Build Merge | |
on: | |
pull_request_target: | |
types: | |
- closed | |
jobs: | |
build-merge: | |
if: github.event.pull_request.merged == true | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: '0.8.0' | |
- name: Install dependencies | |
run: bun install | |
- name: Build Markdown | |
run: bun start | |
- name: Commit & Push Changes | |
run: | | |
git config user.name "farizdotid" | |
git config user.email "[email protected]" | |
git add --all | |
git commit -m "chore(readme): update" | |
git push origin HEAD | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |