Verified Commit 107be125 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

CI: improve script that creates the JSON file for the website

It now also deletes the old snapshots. It has been moved in
/home/gitlab-runner/ on eris.
parent d549d21b
......@@ -196,4 +196,4 @@ deploy_snapshot_unstable:
- cp *.tar.xz /srv/www.dynare.org/snapshot/source/ && ln -sf *.tar.xz /srv/www.dynare.org/snapshot/source/dynare-latest-src.tar.xz
- cd windows/exe/ && cp * /srv/www.dynare.org/snapshot/windows/ && ln -sf * /srv/www.dynare.org/snapshot/windows/dynare-latest-win.exe && cd ../..
- cd windows/zip/ && cp * /srv/www.dynare.org/snapshot/windows-zip/ && ln -sf * /srv/www.dynare.org/snapshot/windows-zip/dynare-latest-win.zip && cd ../..
- cd /srv/www.dynare.org/snapshot/ && ./list-snapshots-in-json-file.sh
- ~/update-snapshot-list.sh
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment