Skip to content

Commit

Permalink
Merge pull request #10 from Ankit-clouddrove/prod
Browse files Browse the repository at this point in the history
Prod
  • Loading branch information
Ankit-clouddrove authored Feb 7, 2024
2 parents 19e4c57 + 2cf0e08 commit 5cf4f5b
Showing 1 changed file with 19 additions and 13 deletions.
32 changes: 19 additions & 13 deletions .github/workflows/github-action-nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@
name: Setup-Nginx

on:
pull_request:
types:
- opened

# - closed
# branches:
# branches:
# - feature1
# - main
# tags:
# - v1
jobs:
push
branches:
- master

pull_request
branches:
- [feature1, prod]




build:
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
Expand Down Expand Up @@ -50,12 +49,19 @@ jobs:
setup-nginx:
# if: github.event.pull_request.merged == true
runs-on: ubuntu-latest

env:
USER_NAME: ${{ secrets.USER_NAME }}
USER_PASSWORD: ${{ secrets.USER_PASSWORD }}

needs: [build,test,deploy]
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: print name
run: echo "My USER_NAME is ${{env.USER_NAME}}. USER_PASSWORD is ${{env.USER_PASSWORD}}"
run: |
echo "USER_NAME=${USER_NAME}"
echo "USER_PASSWORD=${USER_PASSWORD}"
- name: Create and Navigate to Directory
run: |
Expand Down

0 comments on commit 5cf4f5b

Please sign in to comment.