Skip to content

Commit

Permalink
fix: web-app gh action release conditional (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgamez authored Sep 26, 2023
1 parent fae7ed6 commit 4a4a21a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/web-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,18 @@ jobs:

- name: Authenticate to Google Cloud DEV
if: ${{ github.event_name == 'pull_request' }}
# id: gcloud_auth_dev
uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.DEV_GCP_MOBILITY_FEEDS_SA_KEY }}

- name: Authenticate to Google Cloud QA
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
# id: gcloud_auth_dev
uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.QA_GCP_MOBILITY_FEEDS_SA_KEY }}

- name: Authenticate to Google Cloud PROD
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
# id: gcloud_auth_dev
if: ${{ github.event_name == 'release' }}
uses: google-github-actions/auth@v1
with:
credentials_json: ${{ secrets.PROD_GCP_MOBILITY_FEEDS_SA_KEY }}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Mobility Feed API
![Deploy Feeds API - QA](https://github.com/MobilityData/mobility-feed-api/workflows/Deploy%20Feeds%20API%20-%20QA/badge.svg?branch=main)
![Deploy Web App - QA](https://github.com/MobilityData/mobility-feed-api/actions/workflows/web-app.yml/badge.svg?branch=main)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

The Mobility Feed API service a list of open mobility data sources from across the world. This repository is the effort the initial effort to convert the current [The Mobility Database Catalogs](https://github.com/MobilityData/mobility-database-catalogs) in an API service.
Expand Down

0 comments on commit 4a4a21a

Please sign in to comment.