Skip to content

Fixed a typo in GitHub action. #2

Fixed a typo in GitHub action.

Fixed a typo in GitHub action. #2

name: Build and Push
on:
push:
branches:
- stable
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '16.4.0'
- name: Install Dependencies
run: npm ci
- name: Build Project
run: npm run build
- name: Commit and Push /dist Directory
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add dist/
git commit -m "Build the dist files after merge."
git push