Skip to content

ci(release): implement web deploy to gcp #835

ci(release): implement web deploy to gcp

ci(release): implement web deploy to gcp #835

name: Stats Web CI
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
# Check for changes in stats-web folder
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
stats-web:
- 'apps/stats-web/**'
- name: Build the Docker image
if: steps.filter.outputs.stats-web == 'true'
run: packages/docker/script/dc.sh build stats-web --build-arg DEPLOYMENT_ENV=production