diff --git a/.github/workflows/linux-node.js-functionapp-on-azure.yml b/.github/workflows/linux-node.js-functionapp-on-azure.yml index 5b669fb..714e5b2 100644 --- a/.github/workflows/linux-node.js-functionapp-on-azure.yml +++ b/.github/workflows/linux-node.js-functionapp-on-azure.yml @@ -11,7 +11,7 @@ on: # # 2. Change these variables for your configuration: env: - AZURE_FUNCTIONAPP_NAME: 'lunch-premium' # set this to your function app name on Azure + AZURE_FUNCTIONAPP_NAME: 'lunch-basic' # set this to your function app name on Azure AZURE_FUNCTIONAPP_PACKAGE_PATH: '.' # set this to the path to your function app project, defaults to the repository root NODE_VERSION: '18.x' # set this to the node version to use (e.g. '8.x', '10.x', '12.x') diff --git a/.gitignore b/.gitignore index 16770f7..6393713 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ # Ignore directories generated by npm and yarn node_modules/ dist/ +.idea/ # Optional: Exclude npm logs npm-debug.log diff --git a/src/index.ts b/src/index.ts index a6f9bfd..c9ad8d0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -32,9 +32,10 @@ export async function timerTrigger1(myTimer: Timer, context: InvocationContext): return await helloLunchChannelInternal(); } -// Scheduling for 10:30 AM on weekdays, but cloud functions are UTC so 7:30 AM +// Scheduling for 10:30 AM on weekdays, but cloud functions are UTC +// so 7:30 AM for Finnish summertime and 8:30 AM for Finnish wintertime app.timer('timerTrigger1', { - schedule: '0 30 7 * * 1-5', + schedule: '0 30 8 * * 1-5', handler: timerTrigger1, });