Skip to content
Snippets Groups Projects
Commit 87389a71 authored by Andreas Herten's avatar Andreas Herten
Browse files

Add second Git hash

parent ac15bf85
Branches
No related tags found
No related merge requests found
Pipeline #68606 passed
......@@ -9,9 +9,11 @@ pages:
- cp Introduction-to-Pandas--slides.ipynb public/
- cp Introduction-to-Pandas--slides.pdf public/
- cp static-slides-bundle.tar.gz public/pandas-tutorial-slides-bundle.tar.gz
- export BASE_REPO_HASH=$(git rev-parse --short HEAD)
- git checkout -f pages
- git reset --hard origin/pages
- sed -i "s/HASH/"`git rev-parse --short HEAD`"/" index.html
- sed -i "s/PAGES_HASH/"`git rev-parse --short HEAD`"/" index.html
- sed -i "s/REPO_HASH/"`echo $BASE_REPO_HASH`"/" index.html
- cp index.html public/
artifacts:
paths:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment