Add Ticker: CROX #200
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: 'Add Stonk' | |
on: | |
repository_dispatch: | |
defaults: | |
run: | |
working-directory: ./data | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use Node.js 14.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 14.x | |
- uses: actions/checkout@v2 | |
- run: npm ci | |
- name: Add issue to env, run add script | |
env: | |
GITHUB_CONTEXT: ${{ github.event.client_payload.data }} | |
run: npm run addticker | |
- name: Rebuilding bundle with new ticker | |
run: npm run bundle | |
- name: Committing changes | |
uses: EndBug/add-and-commit@v7 | |
with: | |
author_name: Github Actions | |
author_email: [email protected] |