Implementa Novo Deploy de Secrets
This commit is contained in:
30
.github/workflows/deploy-staging.yml
vendored
30
.github/workflows/deploy-staging.yml
vendored
@@ -48,11 +48,11 @@ jobs:
|
||||
envkey_VIRUS_CHECKER_TYPE: ${{ secrets.VIRUS_CHECKER_TYPE }}
|
||||
envkey_VIRUS_CHECKER_API_KEY: ${{ secrets.VIRUS_CHECKER_API_KEY }}
|
||||
|
||||
- name: Inserts Prod Enviromental Variables
|
||||
run: |
|
||||
python -m pip install --upgrade pip pipenv
|
||||
pipenv install
|
||||
pipenv run python setup.py -e staging -f .env
|
||||
# - name: Inserts Prod Enviromental Variables
|
||||
# run: |
|
||||
# python -m pip install --upgrade pip pipenv
|
||||
# pipenv install
|
||||
# pipenv run python setup.py -e staging -f .env
|
||||
|
||||
- name: copy file via ssh
|
||||
uses: appleboy/scp-action@master
|
||||
@@ -64,13 +64,13 @@ jobs:
|
||||
source: "."
|
||||
target: "infra-hideyoshi.com"
|
||||
|
||||
- name: executing remote ssh commands
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
username: ${{ secrets.SSH_USER }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
script: |
|
||||
cd infra-hideyoshi.com
|
||||
./deploy.sh --staging
|
||||
# - name: executing remote ssh commands
|
||||
# uses: appleboy/ssh-action@master
|
||||
# with:
|
||||
# host: ${{ secrets.SSH_HOST }}
|
||||
# username: ${{ secrets.SSH_USER }}
|
||||
# port: ${{ secrets.SSH_PORT }}
|
||||
# key: ${{ secrets.SSH_KEY }}
|
||||
# script: |
|
||||
# cd infra-hideyoshi.com
|
||||
# ./deploy.sh --staging
|
||||
Reference in New Issue
Block a user