mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 14:21:41 +00:00
fix: no duplicar el remote
This commit is contained in:
parent
08cad58b77
commit
9773285e9f
1 changed files with 2 additions and 2 deletions
|
@ -35,14 +35,14 @@ pipeline:
|
|||
- "echo \"$${SSH_KEY}\" | base64 -d | ssh-add -"
|
||||
- "git config user.name Woodpecker"
|
||||
- "git config user.email ci@sutty.coop.ar"
|
||||
- "git remote add origin $${ORIGIN}"
|
||||
- "git remote add upstream $${ORIGIN}"
|
||||
- "git checkout -B ${CI_COMMIT_BRANCH}"
|
||||
- "yarn"
|
||||
- "cp .env.example .env"
|
||||
- "dotenv bundle install --path=vendor"
|
||||
- "dotenv RAILS_ENV=production bundle exec rails assets:precompile assets:clean"
|
||||
- "git add public && git commit -m \"ci: assets [skip ci]\""
|
||||
- "git push origin ${CI_COMMIT_BRANCH}"
|
||||
- "git push upstream ${CI_COMMIT_BRANCH}"
|
||||
secrets:
|
||||
- "SSH_KEY"
|
||||
- "KNOWN_HOSTS"
|
||||
|
|
Loading…
Reference in a new issue