Merge pull request #45 from 0hAodha/updateFirebaseCD
Update firebase cd
This commit is contained in:
16
.github/workflows/deploy.yml
vendored
16
.github/workflows/deploy.yml
vendored
@ -21,6 +21,18 @@ jobs:
|
|||||||
- run: npm run build
|
- run: npm run build
|
||||||
- uses: w9jds/firebase-action@master
|
- uses: w9jds/firebase-action@master
|
||||||
with:
|
with:
|
||||||
args: deploy --only hosting
|
args: deploy
|
||||||
env:
|
env:
|
||||||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
|
||||||
|
|
||||||
|
- name: Update Firestore database with train data
|
||||||
|
uses: fjogeleit/http-request-action@v1
|
||||||
|
with:
|
||||||
|
url: 'https://us-central1-irishrailtracker.cloudfunctions.net/postLiveTrainData'
|
||||||
|
method: 'GET'
|
||||||
|
|
||||||
|
- name: Update Firestore database with station data
|
||||||
|
uses: fjogeleit/http-request-action@v1
|
||||||
|
with:
|
||||||
|
url: 'https://us-central1-irishrailtracker.cloudfunctions.net/postStationData'
|
||||||
|
method: 'GET'
|
Reference in New Issue
Block a user