Skip to content

Create minimal readme linking to main docs #22

Create minimal readme linking to main docs

Create minimal readme linking to main docs #22

Workflow file for this run

name: CI
on: [push]
env:
YQ_VERSION: "4.25.1"
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: psf/black@stable
build:
runs-on: ubuntu-latest
needs:
- lint
strategy:
matrix:
template:
- axiom-cloudfront-lambda-cloudformation-stack
- axiom-cloudfront-lambda-base-cloudformation-stack
steps:
- uses: actions/checkout@v3
- run: wget https://github.com/mikefarah/yq/releases/download/v$YQ_VERSION/yq_linux_amd64.tar.gz -O - | tar xz && mv yq_linux_amd64 /usr/local/bin/yq
- run: |-
mkdir build
yq ".Resources.LogsLambda.Properties.Code.ZipFile = \"$(sed 's/\"/\\\"/g' handler.py)\"" ${{ matrix.template }}.template.yaml > build/${{ matrix.template }}.yaml
- run: cat build/${{ matrix.template }}.yaml