-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Deepak Tiwari
committed
Aug 5, 2023
1 parent
d904088
commit 87bbb27
Showing
3 changed files
with
16 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
name: Env | ||
name: CI build | ||
|
||
on: | ||
push: | ||
branches: | ||
- '*' | ||
on: [push] | ||
|
||
jobs: | ||
preflight-job: | ||
name: Env Step | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- run: env | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Deploy Docker image to Google Cloud Run | ||
run: env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
name: mongodump | ||
|
||
on: | ||
- pull_request | ||
- push | ||
|
||
jobs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
name: Print Environment Variables | ||
name: CI notify | ||
|
||
# Only trigger, when the build workflow succeeded | ||
on: | ||
workflow_run: | ||
workflows: ["Env"] | ||
workflows: ["CI build"] | ||
types: | ||
- completed | ||
branches: | ||
- '*' | ||
|
||
jobs: | ||
print-env: | ||
notify: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Print Environment Variables | ||
run: | | ||
echo "Source Workflow: ${{ github.event.workflow_run.workflow }}" | ||
- uses: actions/checkout@v2 | ||
|
||
# Print all environment variables | ||
printenv | ||
- name: Notify Slack and send eMail | ||
run: env |