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