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
|
# Controls when the workflow will run
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [develop, main]
|
branches: develop
|
||||||
|
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -50,6 +50,7 @@ jobs:
|
|||||||
run: zip -r ${{ github.event.repository.name }}_${{ steps.tag_name.outputs.tag }}.zip . -x '*.git*' '*.idea*'
|
run: zip -r ${{ github.event.repository.name }}_${{ steps.tag_name.outputs.tag }}.zip . -x '*.git*' '*.idea*'
|
||||||
- name: echo-step
|
- name: echo-step
|
||||||
run: echo "${{ github.event.release.target_commitish }}"
|
run: echo "${{ github.event.release.target_commitish }}"
|
||||||
|
|
||||||
- name: uploading archive to prod
|
- name: uploading archive to prod
|
||||||
if: ${{ steps.branch_name.outputs.branch == 'main' || github.event.release.target_commitish == 'main'}}
|
if: ${{ steps.branch_name.outputs.branch == 'main' || github.event.release.target_commitish == 'main'}}
|
||||||
uses: wlixcc/SFTP-Deploy-Action@v1.0
|
uses: wlixcc/SFTP-Deploy-Action@v1.0
|
||||||
@@ -58,8 +59,9 @@ jobs:
|
|||||||
server: ${{ secrets.SERVER }}
|
server: ${{ secrets.SERVER }}
|
||||||
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
ssh_private_key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
local_path: ${{ github.event.repository.name }}_${{ steps.tag_name.outputs.tag }}.zip
|
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'
|
args: '-o ConnectTimeout=5'
|
||||||
|
|
||||||
- name: uploading archive to staging
|
- name: uploading archive to staging
|
||||||
if: ${{ steps.branch_name.outputs.branch == 'develop' || github.event.release.target_commitish == 'develop' }}
|
if: ${{ steps.branch_name.outputs.branch == 'develop' || github.event.release.target_commitish == 'develop' }}
|
||||||
uses: wlixcc/SFTP-Deploy-Action@v1.0
|
uses: wlixcc/SFTP-Deploy-Action@v1.0
|
||||||
@@ -70,3 +72,4 @@ jobs:
|
|||||||
local_path: ${{ github.event.repository.name }}_${{ steps.tag_name.outputs.tag }}.zip
|
local_path: ${{ github.event.repository.name }}_${{ steps.tag_name.outputs.tag }}.zip
|
||||||
remote_path: '${{ secrets.STG_UPLOAD_URL }}'
|
remote_path: '${{ secrets.STG_UPLOAD_URL }}'
|
||||||
args: '-o ConnectTimeout=5'
|
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:
|
In the following graphic, ZIC is installed in the target region in a single account:
|
||||||
|
|
||||||

|

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