Skip to content
Snippets Groups Projects
Commit 69ad6615 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Fix: Fixed the pipelines

parent c7696d9f
No related branches found
No related tags found
1 merge request!4Fix: Fixed the pipelines
Pipeline #372630 passed
MIT License
Copyright (c) 2019 RWTH Aachen University
Copyright (c) 2020 RWTH Aachen University
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
......
{
"name": "@coscine/supportadmin",
"version": "1.0.0",
"version": "0.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......
{
"name": "@coscine/supportadmin",
"version": "1.0.0",
"version": "0.0.1",
"private": true,
"directories": {
"doc": "docs"
......@@ -47,7 +47,7 @@
},
"repository": {
"type": "git",
"url": "https://git.rwth-aachen.de/coscine/app/quotamanagement.git"
"url": "https://git.rwth-aachen.de/coscine/app/supportadmin.git"
},
"license": "MIT"
}
param(
$token
)
$remoteUrl = git config --get remote.origin.url
$remoteUrl = $remoteUrl.replace("git@", "")
$remoteUrl = $remoteUrl -replace "https(.*?)@",""
$remoteUrl = $remoteUrl.replace(":", "/")
$remoteUrl = $remoteUrl.replace(".git", ".wiki.git")
$temporaryFolderName = "publishDocsTempFolder"
git clone "https://gitlab-ci-token:$($token)@$($remoteUrl)" $temporaryFolderName
cd $temporaryFolderName
Remove-Item *
cp -r ../docs/* ./
git add .
git commit -m "Docs: Documentation Update"
git push
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment