Skip to content

Commit

Permalink
build tag on master
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepak Tiwari committed Aug 5, 2023
1 parent d904088 commit 87bbb27
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 19 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/1.yml
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
1 change: 0 additions & 1 deletion .github/workflows/build-tag.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: mongodump

on:
- pull_request
- push

jobs:
Expand Down
18 changes: 8 additions & 10 deletions .github/workflows/env.yml
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

0 comments on commit 87bbb27

Please sign in to comment.