Skip to content

Fix Readme Typo

Fix Readme Typo #16

Workflow file for this run

name: Build and Deploy
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup-dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
- name: build
run: dotnet build
- name: install aws lambda tool
if: ${{ github.ref == 'refs/heads/master' }}
run: dotnet tool install -g Amazon.Lambda.Tools
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}
- name: deploy
if: ${{ github.ref == 'refs/heads/master' }}
run: ~/.dotnet/tools/dotnet-lambda deploy-serverless -tp 'TelegramAPIToken=${{ secrets.TELEGRAM_API_TOKEN }};KandilliPageUrl=${{ secrets.KANDILLI_PAGE_URL }}'