Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
acouch authored Feb 14, 2023
1 parent c9d1a1e commit 17831e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
tags:
- '*'
branches:
- fix/report-v2-additions
- main

jobs:
deploy:
Expand Down Expand Up @@ -35,7 +35,7 @@ jobs:

# copy data ----
- name: Copy development report data
if: ${{ github.ref == 'refs/heads/fix/report-v2-additions' }}
if: ${{ github.ref == 'refs/heads/main' }}
run: |
gsutil -m rsync -r gs://gtfs-data-test/report_gtfs_schedule/ reports/outputs/
- name: Copy production report data
Expand All @@ -51,7 +51,7 @@ jobs:
# deploy ----

- name: Deploy development to Netlify
if: ${{ github.ref == 'refs/heads/fix/report-v2-additions' }}
if: ${{ github.ref == 'refs/heads/main' }}
run: |
npm install netlify-cli
netlify deploy --site=cal-itp-reports --dir=./website/build --alias=test
Expand Down

0 comments on commit 17831e8

Please sign in to comment.