Collect CPI #102
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: Collect CPI | |
on: | |
schedule: | |
- cron: "0 12 5,15,25 * *" | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: 12.16.1 | |
- name: Install Deps | |
run: | | |
yarn install --production | |
- name: Collect | |
run: | | |
yarn collect-cpi | |
- name: Commit and Push | |
run: | | |
git config --global user.name 'alexk111' | |
git config --global user.email '[email protected]' | |
git add . | |
git commit -am "Automated CPI collection" | |
git push |