Skip to content

Update pricing calculator #1139

Update pricing calculator

Update pricing calculator #1139

Workflow file for this run

name: Deploy to Firebase Preview
on:
pull_request:
concurrency:
group: preview-${{ github.ref }}
jobs:
build_and_preview:
runs-on: ubuntu-2404-large
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 20
- uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Caching
id: gatsby-cache-build
uses: actions/cache@v4
with:
path: |
node_modules
.cache
public
key: ${{ runner.os }}-gatsby-build-preview-${{github.head_ref}}-${{ github.run_id }}
restore-keys: |
${{ runner.os }}-gatsby-build-preview-${{github.head_ref}}-
- run: yarn install --frozen-lockfile
- name: Run ESLint
run: yarn lint
env:
CI: true
- name: Run Prettier
run: yarn format
env:
CI: true
- name: Run build
run: yarn run build --log-pages
env:
CI: true
STRAPI_API_URL: ${{ secrets.STRAPI_API_URL }}
STRAPI_TOKEN: ${{ secrets.STRAPI_TOKEN }}
GATSBY_DB_USER: ${{ secrets.GATSBY_DB_USER }}
GATSBY_DB_PASS: ${{ secrets.GATSBY_DB_PASS }}
GATSBY_DB_HOST: ${{ secrets.GATSBY_DB_HOST }}
GATSBY_DB_PORT: ${{ secrets.GATSBY_DB_PORT }}
GATSBY_DB_NAME: ${{ secrets.GATSBY_DB_NAME }}
- uses: FirebaseExtended/action-hosting-deploy@v0
if: ${{ contains(github.event.pull_request.labels.*.name, 'generate-pr-preview') }}
id: firebase
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}'
expires: 15d
projectId: estuary-marketing
- run: echo ${{steps.firebase.outputs.urls}}