Merge pull request #448 from feature/370-forcefetch #6
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 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 |