run hippo #738
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: run hippo | |
on: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: restore cache | |
uses: dawidd6/action-download-artifact@80620a5d27ce0ae443b965134db88467fc607b43 # tag: v7 | |
continue-on-error: true | |
with: | |
name: cache | |
workflow: cron.yml | |
- name: npm install | |
run: npm install | |
- name: npm start | |
run: npm start | |
env: | |
POSTGRES_URI: ${{ secrets.POSTGRES_URI }} | |
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} | |
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }} | |
CC_USERS: ${{ secrets.CC_USERS }} | |
- name: persist cache | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # tag: v4.4.3 | |
with: | |
name: cache | |
path: .cache | |
include-hidden-files: true |