diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f25ad56..c4f762f 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,39 +1,34 @@ name: Deploy FastAPI AWS Starter Kit -on: - push: - branches: - - main - jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - - name: Set up Python 3.9 - uses: actions/setup-python@v4 - with: - python-version: 3.9 - - - name: Install NodeJS - uses: actions/setup-node@v3 - with: - node-version: '19.x' - - - name: Installing Serverless - run: make install-serverless - - - name: Installing Python requirements - run: make install-python-requirements - - - name: Black code analysis - run: make black - - - name: Flake8 code analysis - run: make flake8 - - - name: Deploy with Serverless - run: make deploy - env: - SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }} \ No newline at end of file + - uses: actions/checkout@v3 + + - name: Set up Python 3.9 + uses: actions/setup-python@v4 + with: + python-version: 3.9 + + - name: Install NodeJS + uses: actions/setup-node@v3 + with: + node-version: "19.x" + + - name: Installing Serverless + run: make install-serverless + + - name: Installing Python requirements + run: make install-python-requirements + + - name: Black code analysis + run: make black + + - name: Flake8 code analysis + run: make flake8 + + - name: Deploy with Serverless + run: make deploy + env: + SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }} diff --git a/article/README.md b/article/README.md index 0b67130..a7fc347 100644 --- a/article/README.md +++ b/article/README.md @@ -5,12 +5,15 @@ tags: - AWS canonicalUrl: >- https://medium.com/aws-tip/serverless-rest-api-on-aws-with-fastapi-bd9de11f925a -coverImage: >- - https://github.com/DevWaveX/fastapi-aws-starter-kit/raw/main/article/cover.png +coverImage: https://github.com/DevWaveX/fastapi-aws-starter-kit/raw/main/article/cover.png publications: - - platform: devTo + - id: 1655323 + url: https://dev.to/coxhawk/serverless-rest-api-on-aws-with-fastapi-i72 + platform: devTo published: true - - platform: hashnode + - id: 654421ca544bd9c69327cdd5 + url: TBD + platform: hashnode publicationId: 62019a434efba97010a97bb9 --- @@ -110,7 +113,7 @@ And thatā€™s it ! šŸš€ ## FastAPI AWS Starter Kit Here the the repository related to this article: -[**GitHub - Cox65/fastapi-aws-starter-kit: Starter kit to deploy FastAPI as an AWS serverlessā€¦**](https://github.com/Cox65/fastapi-aws-starter-kit) +[**GitHub - DevWaveX/fastapi-aws-starter-kit: Starter kit to deploy FastAPI as an AWS serverlessā€¦**](https://github.com/DevWaveX/fastapi-aws-starter-kit) I hope you enjoyed reading this article and that it will help you in your next projects ! šŸ¤˜