Skip to content

Commit

Permalink
Set up weekly updates (#48)
Browse files Browse the repository at this point in the history
Code for
#45
  • Loading branch information
brittktrinh authored Jul 19, 2023
1 parent 4efce6d commit 3d16a73
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/weekly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Weekly Updates

on:
workflow_dispatch:
schedule:
- cron: "0 21 * * SUN"

jobs:
weekly:
if: github.repository_owner == 'ParkingReformNetwork'
runs-on: ubuntu-latest
env:
INFLUXDB_API_TOKEN: ${{ secrets.INFLUXDB_API_TOKEN }}
INFLUXDB_BUCKET: ${{ secrets.INFLUXDB_BUCKET }}
INFLUXDB_ORG: ${{ secrets.INFLUXDB_ORG }}
INFLUXDB_URL: ${{ secrets.INFLUXDB_URL }}

steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Run progam
run: npm run start -- --services --map-projects

0 comments on commit 3d16a73

Please sign in to comment.