Skip to content

Fetch first

Fetch first #8

Workflow file for this run

on:
push:
branches:
- master
jobs:
deploy:
runs-on: self-hosted
steps:
- name: Pull
run: cd /home/mustyoshi/Github/congress-dev && GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git fetch && GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git checkout ${GITHUB_SHA}
- name: Build containers
run: cd /home/mustyoshi/Github/congress-dev && docker-compose -f .docker/docker-compose.yml -f .docker/docker-compose.prod.yml build
- name: Deploy
run: cd /home/mustyoshi/Github/congress-dev && bash start_prod.sh