Skip to content

Api deploy

Api deploy #3

Workflow file for this run

name: Api deploy test
on: pull_request
jobs:
deploy_api:
runs-on: ubuntu-latest
environment: staging
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- id: 'auth'
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_SOONAVERSE_TEST }}'
- name: 'Set up Cloud SDK'
uses: 'google-github-actions/setup-gcloud@v1'
- name: Build image
run: |
cp packages/api/Dockerfile .
ls -la
echo $GOOGLE_CLOUD_PROJECT