Skip to content
Snippets Groups Projects
Commit 09b3b7da authored by Vuillaume's avatar Vuillaume
Browse files

remove build dir in snippet and in our CI

parent 775642e6
No related branches found
No related tags found
1 merge request!243remove build dir in snippet and in our CI
......@@ -117,6 +117,7 @@ deploy_zenodo:
- build_docker
before_script:
- apt update && apt-get install git -y
- git clean -f
- pip install .
- python eossr/scripts/update_codemeta_eossr.py -c codemeta.json
- eossr-check-connection-zenodo --token $ZENODO_TOKEN -p $CI_PROJECT_DIR
......
......@@ -43,7 +43,6 @@ deploy_zenodo:
```
### Upload to Sandbox Zenodo
```yaml
stages:
......@@ -59,3 +58,11 @@ deploy_zenodo:
only:
- tags
```
Note: you might want to restore the directory to its tag stage if you made changes in previous CI stages
(for example removing build subdirs from previous test stages).
You may do so using adding the following in the `before_script` section:
```
- apt-get install git -y
- git reset --hard HEAD && git clean -fd
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment