Merge pull request #2183 from Hafsa-Naeem/i11791-main-fix #191
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test VPS Deploy stable branch | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| inputs: | |
| branch: | |
| description: 'Branch to deploy' | |
| required: true | |
| type: choice | |
| default: 'main' | |
| options: | |
| - main | |
| - stable-3_5_0 | |
| - stable-3_4_0 | |
| - stable-3_3_0 | |
| jobs: | |
| deploy: | |
| if: github.repository == 'pkp/omp' | |
| concurrency: | |
| group: deploy-${{ inputs.branch || github.ref_name }} | |
| cancel-in-progress: true | |
| uses: jardakotesovec/pkp-test-vps-ci/.github/workflows/deploy.yaml@main | |
| with: | |
| project: ${{ github.event.repository.name }} | |
| branch: ${{ inputs.branch || github.ref_name }} | |
| copies: qa,hosting | |
| secrets: | |
| SSH_PRIVATE_KEY: ${{ secrets.TEST_VPS_CI_SSH_PRIVATE_KEY }} | |
| SSH_HOST: ${{ secrets.TEST_VPS_CI_SSH_HOST }} | |
| SSH_USERNAME: ${{ secrets.TEST_VPS_CI_SSH_USERNAME }} |