Skip to content

Commit cbd8383

Browse files
committed
Copy config to staging
1 parent 8e79602 commit cbd8383

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/reload_demo_data.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -98,17 +98,17 @@ jobs:
9898
)
9999
100100
apollo jbrowse get-config > tmp.config.json
101-
scp tmp.config.json ec2-user@${{ steps.ec2-describe-instances.outputs.INSTANCE_ADDRESS }}:/home/ec2-user/data/
102-
103-
jbrowse add-track \
104-
/data/trichuris_muris.PRJEB126.WBPS19_vs_trichuris_trichiura.PRJEB535.WBPS19.paf \
105-
--load inPlace \
106-
--name "T. muris vs T. trichiura tblastx" \
107-
--assemblyNames "${MURIS_ID},${TRICHIURA_ID}" \
108-
--target /home/ec2-user/data/tmp.config.json \
109-
--force
110-
111-
apollo jbrowse set-config /data/config.json
101+
rsync -av tmp.config.json staging:data/
102+
ssh staging -f "
103+
jbrowse add-track \
104+
/data/trichuris_muris.PRJEB126.WBPS19_vs_trichuris_trichiura.PRJEB535.WBPS19.paf \
105+
--load inPlace \
106+
--name 'T. muris vs T. trichiura tblastx' \
107+
--assemblyNames '${MURIS_ID},${TRICHIURA_ID}' \
108+
--target /home/ec2-user/data/tmp.config.json \
109+
--force"
110+
rsync -av staging:data/tmp.config.json ./
111+
apollo jbrowse set-config tmp.config.json
112112
113113
# apollo assembly get | apollo assembly delete --verbose --assembly -
114114
# apollo file get | apollo file delete

0 commit comments

Comments
 (0)