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:
parent
acf3be229e
commit
2ef929dd28
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user