Rename PI_TEST_* secrets to PI_MAIN_* and centralize adjustable workflow values
Co-authored-by: Junie <junie@jetbrains.com>
This commit is contained in:
@@ -31,10 +31,10 @@ jobs:
|
||||
- name: Upload dist to ${{ inputs.environment }} web server via SCP
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
host: ${{ secrets.PI_TEST_HOST }}
|
||||
port: ${{ secrets.PI_TEST_PORT }}
|
||||
username: ${{ secrets.PI_TEST_USERNAME }}
|
||||
password: ${{ secrets.PI_TEST_PASSWORD }}
|
||||
host: ${{ secrets.PI_MAIN_HOST }}
|
||||
port: ${{ secrets.PI_MAIN_PORT }}
|
||||
username: ${{ secrets.PI_MAIN_USERNAME }}
|
||||
password: ${{ secrets.PI_MAIN_PASSWORD }}
|
||||
source: "dist/*"
|
||||
target: ${{ inputs.deploy_path }}
|
||||
strip_components: 1
|
||||
|
||||
Reference in New Issue
Block a user