1
0
mirror of https://github.com/dcarrillo/docker-nginx.git synced 2024-11-14 03:31:12 +00:00

chore: Add tests to deployment workflow

This commit is contained in:
Daniel Carrillo 2023-09-10 12:07:52 +02:00
parent acf3be229e
commit 2ef929dd28
Signed by: dcarrillo
GPG Key ID: E4CD5C09DAED6E16

View File

@ -9,8 +9,6 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v3
@ -28,8 +26,9 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs:
- tests
if: github.event_name == 'push'
steps:
- uses: actions/checkout@v3