Skip to content

Commit

Permalink
Switch to lunch-basic, DST off.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatu Päkkilä committed Oct 30, 2023
1 parent 01c5746 commit 3e115a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux-node.js-functionapp-on-azure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Ignore directories generated by npm and yarn
node_modules/
dist/
.idea/

# Optional: Exclude npm logs
npm-debug.log
Expand Down
5 changes: 3 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});

Expand Down

0 comments on commit 3e115a5

Please sign in to comment.