Skip to content

Merge pull request #175 from oslokommune/url-serialization-fix #166

Merge pull request #175 from oslokommune/url-serialization-fix

Merge pull request #175 from oslokommune/url-serialization-fix #166

Workflow file for this run

name: Deploy Dev
on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
workflow_dispatch:
jobs:
deploy-dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
- name: Set up Python 3.10
uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0
with:
python-version: '3.10'
- name: Install Python dependencies
run: pip install tox
- name: Test with tox
run: tox -e py,flake8,black
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d # v3.8.1
with:
node-version: '18.x'
- name: Install NPM dependencies
run: npm install
- name: Deploy Lambda functions
run: |
AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_DEV }} \
AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY_DEV }} \
./node_modules/.bin/sls deploy -s dev