refactor: splits templates API into list and fetch by id #1077
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |