test(deployment): e2e testing create deployment #1119
Workflow file for this run
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: Deploy 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 deploy-web folder | |
- uses: dorny/paths-filter@v2 | |
id: filter | |
with: | |
filters: | | |
deploy-web: | |
- 'apps/deploy-web/**' | |
- name: Build the Docker image | |
if: steps.filter.outputs.deploy-web == 'true' | |
run: npm run dc:build -- --build-arg DEPLOYMENT_ENV=production deploy-web |