Skip to content

alternative deploy.yml #9

alternative deploy.yml

alternative deploy.yml #9

Workflow file for this run

name: deploy1
on:
push:
pull_request:
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
python-version: 3.9

Check failure on line 12 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / deploy1

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 12, Col: 25): Unexpected value '3.9'
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: setup python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }} #install the python version needed
- name: serverless deploy
uses: dhollerbach/github-action-serverless-with-python-requirements@master
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}