use project url to build remote url
This commit is contained in:
parent
1fbca6145d
commit
64e19eab70
2 changed files with 4 additions and 4 deletions
|
@ -9,4 +9,4 @@ update:
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||||
script:
|
script:
|
||||||
- pad-archiver --push --remote origin --username gitlab-ci-token --password "${CI_ACCESS_TOKEN}" < pads.txt
|
- pad-archiver --push --url "${CI_PROJECT_URL}.git" --username gitlab-ci-token --password "${CI_ACCESS_TOKEN}" < pads.txt
|
||||||
|
|
6
main.go
6
main.go
|
@ -161,9 +161,9 @@ func main() {
|
||||||
"password",
|
"password",
|
||||||
)
|
)
|
||||||
remoteUrl := flag.String(
|
remoteUrl := flag.String(
|
||||||
"remote",
|
"url",
|
||||||
defaultRemoteName,
|
"",
|
||||||
"remote",
|
"url of remote",
|
||||||
)
|
)
|
||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue