chore: π add DS_Store to gitignore #78
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy to lambda | |
on: [push] | |
jobs: | |
deploy_source: | |
name: build and deploy lambda | |
strategy: | |
matrix: | |
node-version: [14.x] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: yarn install | |
run: | | |
yarn --prod | |
env: | |
CI: true | |
- name: zip | |
uses: montudor/[email protected] | |
with: | |
args: zip -qq -r ./bundle.zip ./ | |
- name: default deploy | |
uses: appleboy/lambda-action@master | |
with: | |
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws_region: eu-central-1 | |
function_name: sledilnikScreenshot | |
zip_file: bundle.zip |