mirror of
https://github.com/Hestia-Homes/survey-extraction.git
synced 2026-06-08 11:17:29 +00:00
attempt 2
This commit is contained in:
parent
55fec1a274
commit
5febdc01a0
2 changed files with 3 additions and 1 deletions
2
.github/workflows/months_end.yml
vendored
2
.github/workflows/months_end.yml
vendored
|
|
@ -3,6 +3,8 @@ on:
|
|||
schedule:
|
||||
- cron: '0 7 29 * *' # Runs at 7:00 AM UTC on the 29th of every month
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches: [main, feature/month_end_automation_of_all]
|
||||
|
||||
jobs:
|
||||
surveyed-needs-sign-off:
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ def upload_to_month_end_folder(file_name_on_sp, local_file_path, add_to_path):
|
|||
parent_folder = "General/Junte Kim/month end"
|
||||
today = datetime.today()
|
||||
# Format as "Month YYYY"
|
||||
formatted_date = today.strftime("%B %Y")
|
||||
formatted_date = today.strftime("%B %Y") + " Attempt 2"
|
||||
|
||||
sharepoint.create_dir(formatted_date, parent_folder)
|
||||
sharepoint_path = parent_folder + "/" + formatted_date
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue