Build project #1009
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 project | |
on: | |
schedule: | |
# Runs "at At 00:00." (see https://crontab.guru) | |
- cron: '0 0 * * *' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | |
jobs: | |
build: | |
# The type of runner that the job will run on | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup node 14 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14.x | |
- run: | | |
npm i | |
npm run export | |
- name: Commit and push changes | |
run: | | |
git config --global user.name "jhasuraj01" | |
git config --global user.email "44930179+jhasuraj01@users.noreply.github.com" | |
git add -A | |
git commit -m "New Auto Build" | |
git push |