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
|
- name: RSync to server
|
||||||
uses: https://github.com/D3rHase/rsync-deploy-action@v0.2
|
uses: https://github.com/D3rHase/rsync-deploy-action@v0.2
|
||||||
with:
|
with:
|
||||||
HOST: ${{ secrets.SSH_HOST }}
|
HOST: ${{ secrets.PROD_SSH_HOST }}
|
||||||
PORT: ${{ secrets.SSH_PORT }}
|
PORT: ${{ secrets.PROD_SSH_PORT }}
|
||||||
USER: ${{ secrets.SSH_USER }}
|
USER: ${{ secrets.PROD_SSH_USER }}
|
||||||
PRIVATE_SSH_KEY: ${{ secrets.SSH_KEY }}
|
PRIVATE_SSH_KEY: ${{ secrets.PROD_SSH_KEY }}
|
||||||
REPOSITORY_PATH: ${{ secrets.PROD_SSH_REPO_PATH }}
|
REPOSITORY_PATH: ${{ secrets.PROD_SSH_REPO_PATH }}
|
||||||
SERVER_PATH: ${{ secrets.PROD_SSH_SERVER_PATH }}
|
SERVER_PATH: ${{ secrets.PROD_SSH_SERVER_PATH }}
|
||||||
|
|
||||||
|
@ -57,10 +57,10 @@ jobs:
|
||||||
ABOUT_REPO: ${{ vars.PROD_ABOUT_REPO }}
|
ABOUT_REPO: ${{ vars.PROD_ABOUT_REPO }}
|
||||||
CACHE_INTERVAL: ${{ vars.PROD_CACHE_INTERVAL }}
|
CACHE_INTERVAL: ${{ vars.PROD_CACHE_INTERVAL }}
|
||||||
with:
|
with:
|
||||||
host: ${{ secrets.SSH_HOST }}
|
host: ${{ secrets.PROD_SSH_HOST }}
|
||||||
username: ${{ secrets.SSH_USER }}
|
username: ${{ secrets.PROD_SSH_USER }}
|
||||||
key: ${{ secrets.SSH_KEY }}
|
key: ${{ secrets.PROD_SSH_KEY }}
|
||||||
port: ${{ secrets.SSH_PORT }}
|
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
|
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: |
|
script: |
|
||||||
cd /home/vylpes/apps/vylbot/vylbot_prod \
|
cd /home/vylpes/apps/vylbot/vylbot_prod \
|
||||||
|
|
Loading…
Reference in a new issue