Skip to content

Add telegram_token and chat_id in lambda env #3

Add telegram_token and chat_id in lambda env

Add telegram_token and chat_id in lambda env #3

Workflow file for this run

name: Deploy lambda function from source
on: [push]
jobs:
deploy_source:
name: Deploy lambda function from source
runs-on: ubuntu-latest
steps:
- name: checkout source code
uses: actions/checkout@v3
- name: default deploy
uses: appleboy/lambda-action@v0.1.9
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws_region: ${{ secrets.AWS_REGION }}
function_name: scrapy-telegram-bot
source: main.py
environment: TELEGRAM_TOKEN=${{ secrets.TELEGRAM_TOKEN }},CHAT_ID=${{ secrets.CHAT_ID }}