21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-04-29 15:30:49 +02:00
chexpire/script/to_staging
2018-08-02 00:29:53 +02:00

13 lines
267 B
Bash
Executable file

#!/bin/sh
# Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr>
# License: GNU AGPL-3+ (see full text in LICENSE file)
set -e
[ -n "$DEBUG" ] && set -x
git branch -f staging
git push --force origin staging
bundle exec cap staging deploy