Create docker-image.yml #1
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: Docker Image CI | |
on: | |
push: | |
branches: '*' | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
# Uruchomienie kontenera na podstawie docker-compose-prod.yml po pushu | |
- name: Run Docker Prod | |
run: npm run docker:prod | |
working-directory: Nest_Build # Ustaw właściwą ścieżkę do projektu | |