Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def _deploy(self, branch='gh-pages'):
commands.deploy(self.stage, '1.0', branch=branch)
def _deploy(self, branch='gh-pages'):
commands.deploy(self.stage, '1.0', aliases=['latest'], branch=branch)
def _deploy(self, branch='gh-pages'):
commands.deploy(self.stage, '1.0', aliases=['stable'], branch=branch)
commands.deploy(self.stage, '2.0', branch=branch)
def _deploy(self, branch='gh-pages'):
commands.deploy(self.stage, '1.0', branch=branch)
def test_default(self):
commands.deploy(self.stage, '1.0')
check_call_silent(['git', 'checkout', 'gh-pages'])
self._test_deploy()