5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-09-28 15:26:58 +00:00

fix: no duplicar el remote

This commit is contained in:
f 2023-03-15 11:23:35 -03:00
parent 08cad58b77
commit 9773285e9f

View file

@ -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"