26 lines
782 B
YAML
26 lines
782 B
YAML
# "org" ensures this Service is used with the correct Serverless Framework Access Key.
|
|
org: travisshears
|
|
# "app" enables Serverless Framework Dashboard features and sharing them with other Services.
|
|
app: micro-blog
|
|
# "service" is the name of this project. This will also be added to your AWS resource names.
|
|
service: micro-blog-fetchers
|
|
|
|
provider:
|
|
name: aws
|
|
runtime: nodejs20.x
|
|
region: eu-central-1
|
|
environment:
|
|
POCKET_BASE_PW: ${env:POCKET_BASE_PW}
|
|
POCKET_BASE_USER: ${env:POCKET_BASE_USER}
|
|
BLUE_SKY_API_KEY: ${env:BLUE_SKY_API_KEY}
|
|
BLUE_SKY_USERNAME: ${env:BLUE_SKY_USERNAME}
|
|
|
|
functions:
|
|
pixelfed:
|
|
handler: src/pixelfed.run
|
|
events:
|
|
- schedule: rate(1 hour)
|
|
bluesky:
|
|
handler: src/bluesky.run
|
|
events:
|
|
- schedule: rate(1 hour)
|