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:
|
||||
- if: $CI_PIPELINE_SOURCE == "schedule"
|
||||
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",
|
||||
)
|
||||
remoteUrl := flag.String(
|
||||
"remote",
|
||||
defaultRemoteName,
|
||||
"remote",
|
||||
"url",
|
||||
"",
|
||||
"url of remote",
|
||||
)
|
||||
|
||||
flag.Parse()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue