fix(build): build deploy-web with env in CDCI #1055
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: Indexer 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 | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
indexer: | |
- 'apps/indexer/**' | |
- 'packages/shared/**' | |
- name: Build the Docker image | |
if: steps.filter.outputs.indexer == 'true' | |
run: npm run dc:build -- indexer |