-
Notifications
You must be signed in to change notification settings - Fork 6
33 lines (33 loc) · 1.05 KB
/
2buildCGAZ.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: 2 Build CGAZ
on:
workflow_dispatch:
branches: [main]
workflow_run:
workflows: ["1 Initialize Build"]
branches: [main]
types:
- completed
jobs:
buildCGAZ:
name: Build CGAZ
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
steps:
- name: Build CGAZ
uses: appleboy/[email protected]
with:
command_timeout: 360m
host: ${{ secrets.SCHOST }}
username: ${{ secrets.SCUSERNAME }}
password: ${{ secrets.SCPASSWORD }}
port: 22
proxy_host: ${{ secrets.STATHOST }}
proxy_username: ${{ secrets.SCUSERNAME }}
proxy_password: ${{ secrets.SCPASSWORD }}
proxy_port: 22
script: |
cd /sciclone/geograd/geoBoundaries/scripts/geoBoundaryBot/geoBoundaryBuilder
echo "" > /sciclone/geograd/geoBoundaries/logs/gbCGAZ/cgazJobStat
echo "" > /sciclone/geograd/geoBoundaries/logs/gbCGAZ/cgazStat
qsub cgazBuild
bash workflow/cgazWatch.sh