Skip to content

feat: make everything automatic #1

feat: make everything automatic

feat: make everything automatic #1

Workflow file for this run

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 (Merged Flag)
run: bun start --merged
- 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 }}