Skip to content

Merge pull request #41 from shiltemann/patch-3 #40

Merge pull request #41 from shiltemann/patch-3

Merge pull request #41 from shiltemann/patch-3 #40

Workflow file for this run

name: Deploy
on:
push:
branches:
- main
paths:
- 'group_vars/**'
- 'templates/lambda_function.py.j2'
jobs:
deploy:
name: Deploy rewrite function
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install boto3
run: pip install boto3
- name: Run deploy
run: ansible-playbook -i hosts lambda.yaml
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}