Skip to content

Fix: workflows to target correct branch #5

Fix: workflows to target correct branch

Fix: workflows to target correct branch #5

Workflow file for this run

name: "Build assets"
on:
pull_request:
branches:
- 2.x
types:
- closed
jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Setup Node
uses: actions/setup-node@v3
- name: Install dependencies
run: npm ci
- name: Build assets
run: npm run build
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Chore: build assets"