Skip to content

Commit

Permalink
Update github-action-nginx.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ankit-clouddrove authored Feb 7, 2024
1 parent fc8df24 commit fdcc947
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/github-action-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@ jobs:
build:
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest

outputs:
output1: ${{ steps.build.outputs.result }}
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Build Docker Image
run: echo "Build successful"
- id: build
run: echo "result=Build successful"

test:
# if: github.event.pull_request.merged == true
Expand All @@ -31,7 +33,7 @@ jobs:
uses: actions/checkout@v2

- name: Run Basic Tests
run: echo "Tests successful!"
run: echo ${{needs.build.outputs.output1}}

deploy:
# if: github.event.pull_request.merged == true
Expand Down

0 comments on commit fdcc947

Please sign in to comment.