Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6621cf5061 | |||
| eed90c093e | |||
| 9aacf78031 | |||
| 81e9677c03 | |||
| 80433c78c4 | |||
| 4d4d094e70 |
@@ -5,7 +5,7 @@ name: Upload to the upload server
|
||||
# Controls when the workflow will run
|
||||
on:
|
||||
push:
|
||||
branches: [develop, main]
|
||||
branches: develop
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
@@ -50,6 +50,7 @@ jobs:
|
||||
run: zip -r ${{ github.event.repository.name }}_${{ steps.tag_name.outputs.tag }}.zip . -x '*.git*' '*.idea*'
|
||||
- name: echo-step
|
||||
run: echo "${{ github.event.release.target_commitish }}"
|
||||
|
||||
- name: uploading archive to prod
|
||||
if: ${{ steps.branch_name.outputs.branch == 'main' || github.event.release.target_commitish == 'main'}}
|
||||
uses: wlixcc/SFTP-Deploy-Action@v1.0
|
||||
@@ -58,8 +59,9 @@ jobs:
|
||||
server: ${{ secrets.SERVER }}
|
||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
local_path: ${{ github.event.repository.name }}_${{ steps.tag_name.outputs.tag }}.zip
|
||||
remote_path: '${{ secrets.PROD_UPLOAD_URL }}'
|
||||
remote_path: '${{ secrets.STG_UPLOAD_URL }}'
|
||||
args: '-o ConnectTimeout=5'
|
||||
|
||||
- name: uploading archive to staging
|
||||
if: ${{ steps.branch_name.outputs.branch == 'develop' || github.event.release.target_commitish == 'develop' }}
|
||||
uses: wlixcc/SFTP-Deploy-Action@v1.0
|
||||
@@ -70,3 +72,4 @@ jobs:
|
||||
local_path: ${{ github.event.repository.name }}_${{ steps.tag_name.outputs.tag }}.zip
|
||||
remote_path: '${{ secrets.STG_UPLOAD_URL }}'
|
||||
args: '-o ConnectTimeout=5'
|
||||
|
||||
|
||||
@@ -6,4 +6,4 @@ ZIC is installed in one account, at either the source or target region.
|
||||
|
||||
In the following graphic, ZIC is installed in the target region in a single account:
|
||||
|
||||

|
||||

|
||||
|
||||
+5
-5
@@ -4,11 +4,11 @@ theme:
|
||||
highlightjs: false
|
||||
nav:
|
||||
- Introduction: introduction.md
|
||||
- Prerequisites & Requirements: Prerequisites & Requirements.md
|
||||
- ZIC Installation: ZIC installation components.md
|
||||
- Obtaining the Image Pull Key Secret: Obtaining the Image Pull Key Secret.md
|
||||
- Deploying the ZIC Instance: Deploying the ZIC Instance.md
|
||||
- Configuring ZIC To Use Access Token from Keycloak: Use access token from keycloak.md
|
||||
- Prerequisites & Requirements: Prerequisites_&_Requirements.md
|
||||
- ZIC Installation: ZIC_installation_components.md
|
||||
- Obtaining the Image Pull Key Secret: Obtaining_the_Image_Pull_Key_Secret.md
|
||||
- Deploying the ZIC Instance: Deploying_the_ZIC_Instance.md
|
||||
- Configuring ZIC To Use Access Token from Keycloak: Use_access_token_from_keycloak.md
|
||||
plugins:
|
||||
- zerto_swagger
|
||||
- search
|
||||
|
||||
Reference in New Issue
Block a user