Skip to content

Commit b772d19

Browse files
committed
force new workflow to register
1 parent 0d2f034 commit b772d19

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/downloadfile.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,14 @@ name: Download File from DEV S3 Bucket and Commit to Repo
22

33
on:
44
workflow_dispatch: # Allow manual trigger of the workflow
5-
5+
push:
6+
branches:
7+
- feat/53_auto_postwarnings
8+
69
jobs:
710
download_file:
811
runs-on: ubuntu-latest
9-
12+
1013
steps:
1114
# Step 1: Checkout the code from the repository
1215
- name: Checkout repository
@@ -41,6 +44,6 @@ jobs:
4144
git config --global user.email "amandeep.bhathal@gov.bc.ca"
4245
git add . # Add the downloaded file (path relative to the repo root)
4346
git commit -m "Add downloaded file from BCBOX" || echo "No changes to commit"
44-
47+
4548
# Push back to the same branch that triggered the workflow
4649
git push origin HEAD:${{ github.ref_name }} || echo "No changes to push"

0 commit comments

Comments
 (0)