Skip to content

Mail web 5

Mail web 5 #139

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: NPMBuild
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
npm-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Dependencies
run: npm install
- name: run prod
run: npm run prod
- name: Commit files
continue-on-error: true
run: |
git config --local user.email "[email protected]"
git config --local user.name "NPM Builder"
git commit -m "npm run prod" -a
- name: Push changes
continue-on-error: true
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}