features/seo-improve #49
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: | |
- 'deploy-web/**' | |
- name: Build the Docker image | |
if: steps.filter.outputs.deploy-web == 'true' | |
run: docker build ./deploy-web/ |