diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-08-14 01:57:45 +0100 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-08-14 01:57:45 +0100 |
commit | a099573c852cfbe63bcc1e65eddc093f68b75e8a (patch) | |
tree | c951bbf6b209a5939f0b0c721ed5da2955ade709 /scripts/download_artifact.sh | |
parent | fc1eee2e4d5f1602de7c175a93ff9409b609a2d9 (diff) | |
download | vericert-kvx-a099573c852cfbe63bcc1e65eddc093f68b75e8a.tar.gz vericert-kvx-a099573c852cfbe63bcc1e65eddc093f68b75e8a.zip |
Add download of Coq documentation
Diffstat (limited to 'scripts/download_artifact.sh')
-rwxr-xr-x | scripts/download_artifact.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/download_artifact.sh b/scripts/download_artifact.sh new file mode 100755 index 0000000..5ba8b4d --- /dev/null +++ b/scripts/download_artifact.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +mkdir -p docs/html/docs +cd docs/html/docs +curl -v -L -H "Accept: application/vnd.github.v3+json" -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/repos/ymherklotz/vericert/actions/artifacts/14069960/zip -o html-documentation.zip +unzip html-documentation.zip +rm html-documentation.zip +cp ../../css/coqdoc.css . |