Bump python-multipart in /src/auth_service/auth_service #131
Workflow file for this run
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
##file: noinspection YAMLSchemaValidation | |
#name: Deploy | |
#on: | |
# pull_request: | |
# branches: | |
# - master | |
#jobs: | |
# test: | |
# name: Test | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: Build images and publish to registry | |
# run: | | |
# echo "${{ secrets.ENV_FILE }}" > .env | |
# echo "${{ secrets.AUTH_SERVICE_ENV_FILE }}" > src/auth_service/.env.prod | |
# echo "${{ secrets.STORE_SERVICE_ENV_FILE }}" > src/store_service/.env.prod | |
# export STAGE=test | |
# cd hack | |
# bash convert.sh | |
# source ../.env | |
# bash artifact.sh -u $DOCKER_USER -p $DOCKER_PASSWORD --docker | |
# bash artifact.sh -u $PYPI_USER -p $PYPI_PASSWORD --pypi | |
# cd ../deployment/compose/ | |
# bash start.sh | |
# cd ../../.. | |
# build: | |
# name: Production Deployment | |
# needs: [ test ] | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@v3 | |
# - name: scp-action | |
# uses: appleboy/scp-action@master | |
# with: | |
# host: ${{ secrets.SERVER_IP }} | |
# username: ${{ secrets.SERVER_USERNAME }} | |
# port: ${{ secrets.SSH_PORT }} | |
# password: ${{ secrets.SERVER_PASSWORD }} | |
# source: "." | |
# target: "/root/fastapi_ecommerce/" | |
# | |
# - name: start | |
# uses: appleboy/ssh-action@master | |
# with: | |
# host: ${{ secrets.SERVER_IP }} | |
# username: ${{ secrets.SERVER_USERNAME }} | |
# port: ${{ secrets.SSH_PORT }} | |
# password: ${{ secrets.SERVER_PASSWORD }} | |
# script: | | |
# cd /root/fastapi_ecommerce/ | |
# echo "${{ secrets.ENV_FILE }}" > .env | |
# echo "${{ secrets.AUTH_SERVICE_ENV_FILE }}" > src/auth_service/.env.prod | |
# echo "${{ secrets.STORE_SERVICE_ENV_FILE }}" > src/store_service/.env.prod | |
# cd hack | |
# bash convert.sh | |
# cd ../deployment/compose/ | |
# bash restart.sh | |
# cd ../../.. |