Use prod_
This commit is contained in:
parent
9f7c622514
commit
0a340f36cf
1 changed files with 8 additions and 8 deletions
|
@ -24,10 +24,10 @@ jobs:
|
|||
- name: RSync to server
|
||||
uses: https://github.com/D3rHase/rsync-deploy-action@v0.2
|
||||
with:
|
||||
HOST: ${{ secrets.SSH_HOST }}
|
||||
PORT: ${{ secrets.SSH_PORT }}
|
||||
USER: ${{ secrets.SSH_USER }}
|
||||
PRIVATE_SSH_KEY: ${{ secrets.SSH_KEY }}
|
||||
HOST: ${{ secrets.PROD_SSH_HOST }}
|
||||
PORT: ${{ secrets.PROD_SSH_PORT }}
|
||||
USER: ${{ secrets.PROD_SSH_USER }}
|
||||
PRIVATE_SSH_KEY: ${{ secrets.PROD_SSH_KEY }}
|
||||
REPOSITORY_PATH: ${{ secrets.PROD_SSH_REPO_PATH }}
|
||||
SERVER_PATH: ${{ secrets.PROD_SSH_SERVER_PATH }}
|
||||
|
||||
|
@ -57,10 +57,10 @@ jobs:
|
|||
ABOUT_REPO: ${{ vars.PROD_ABOUT_REPO }}
|
||||
CACHE_INTERVAL: ${{ vars.PROD_CACHE_INTERVAL }}
|
||||
with:
|
||||
host: ${{ secrets.SSH_HOST }}
|
||||
username: ${{ secrets.SSH_USER }}
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
port: ${{ secrets.SSH_PORT }}
|
||||
host: ${{ secrets.PROD_SSH_HOST }}
|
||||
username: ${{ secrets.PROD_SSH_USER }}
|
||||
key: ${{ secrets.PROD_SSH_KEY }}
|
||||
port: ${{ secrets.PROD_SSH_PORT }}
|
||||
envs: DB_NAME,DB_AUTH_USER,DB_AUTH_PASS,DB_HOST,DB_PORT,DB_ROOT_HOST,DB_SYNC,DB_LOGGING,DB_DATA_LOCATION,BOT_TOKEN,BOT_VER,BOT_AUTHOR,BOT_OWNERID,BOT_CLIENTID,ABOUT_FUNDING,ABOUT_REPO,CACHE_INTERVAL
|
||||
script: |
|
||||
cd /home/vylpes/apps/vylbot/vylbot_prod \
|
||||
|
|
Loading…
Reference in a new issue