Skip to content

Commit

Permalink
BAH-4126 | Refactor. Remove trigger based on branch push
Browse files Browse the repository at this point in the history
  • Loading branch information
mohan-13 committed Oct 20, 2024
1 parent 4aaf8e6 commit ea63783
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/start_ec2_environments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
# Runs "At 06:00 AM IST on Moday-Friday. Below time is mentioned in UTC time zone" (see https://crontab.guru)
- cron: '30 00 * * 1-5'
workflow_dispatch:
push:
branches:
- BAH-4126

jobs:
start-instances:
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/stop_ec2_environments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ on:
# Runs "At 09:00 PM IST on Moday-Friday. Below time is mentioned in UTC time zone" (see https://crontab.guru)
- cron: '30 15 * * 1-5'
workflow_dispatch:
push:
branches:
- BAH-4126

jobs:
stop-instances:
Expand All @@ -17,7 +14,7 @@ jobs:
instance: ['bahmni-standard-docker']
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.BAHMNI_AWS_ID }}
aws-secret-access-key: ${{ secrets.BAHMNI_AWS_SECRET }}
Expand Down

0 comments on commit ea63783

Please sign in to comment.