Skip to content

Commit 4f6efc3

Browse files
committed
Copy config to staging server
1 parent baec10f commit 4f6efc3

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/reload_demo_data.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,15 @@ jobs:
9696
jq --raw-output '.[] | select(.name=="Trichuris trichiura")._id'
9797
)
9898
99-
ls -la /
100-
ls -la /data
101-
ls ~/
102-
pwd
103-
apollo jbrowse get-config > /home/ec2-user/data/config.json
104-
105-
npm install -g @jbrowse/cli
99+
apollo jbrowse get-config > tmp.config.json
100+
scp tmp.config.json ec2-user@${{ steps.ec2-describe-instances.outputs.INSTANCE_ADDRESS }}:/home/ec2-user/data/
106101
107102
jbrowse add-track \
108103
/data/trichuris_muris.PRJEB126.WBPS19_vs_trichuris_trichiura.PRJEB535.WBPS19.paf \
109104
--load inPlace \
110105
--name "T. muris vs T. trichiura tblastx" \
111106
--assemblyNames "${MURIS_ID},${TRICHIURA_ID}" \
112-
--target /home/ec2-user/data/config.json \
107+
--target /home/ec2-user/data/tmp.config.json \
113108
--force
114109
115110
apollo jbrowse set-config /data/config.json

0 commit comments

Comments
 (0)