Skip to content
Snippets Groups Projects
Commit cd416519 authored by tuhe's avatar tuhe
Browse files

CICD

parent 810c227b
Branches
No related tags found
No related merge requests found
Pipeline #8669 failed
......@@ -15,7 +15,14 @@ before_script:
##
# - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- echo "$client_secret" > src/unlearn/client_secret.txt
- echo "$client_id" > src/unlearn/client_id.txt
- echo "$username" > src/unlearn/username.txt
- echo "$password" > src/unlearn/password.txt
- cat src/unlearn/client_secret.txt
- cat src/unlearn/client_id.txt
- cat src/unlearn/username.txt
- cat src/unlearn/password.txt
##
## Create the SSH directory and give it the right permissions
##
......
import os
if __name__ == "__main__":
pages = os.path.dirname(__file__) + "../../pages"
pages = os.path.dirname(__file__) + "/../../pages"
if not os.path.isdir(pages):
os.mkdir(pages)
with open(pages + "/index.html", 'w') as f:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment