Skip to content

Commit

Permalink
Create blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
stkgf committed Apr 10, 2024
1 parent 55e91ed commit 84f383c
Showing 1 changed file with 69 additions and 0 deletions.
69 changes: 69 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@

name: Test run deployment

on:
push:
pull_request:
branches: [ "pavandev", "pavannp" ]
workflow_dispatch:



jobs:
Build:
runs-on: ubuntu-latest

steps:
- name: printing statement
run: echo This is Build



DevDeployment:
if: github.event.ref == 'refs/heads/pavandev'

needs: Build
environment:
name: Development
runs-on: ubuntu-latest

steps:
- name: Print statement
run: echo "Development deployment"



SandboxDeployment:
name: Sandbox environment
if: github.event.ref == 'refs/heads/pavandev'
needs: Build
environment:
name: Sandbox


runs-on: ubuntu-latest
steps:
- name: Print statement
run: echo "This is sandbox"

ProductionDeployment:

runs-on: ubuntu-latest
needs: SandboxDeployment
environment:
name: Production
steps:
- uses: benhamiltonpro/[email protected]
- name: Print statement
run: echo "This is Production"











0 comments on commit 84f383c

Please sign in to comment.