Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
devbaraus authored Jan 11, 2022
1 parent 0960b1e commit b7c9b98
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Docker Image CI
name: Deploy to IFG Anápolis BCC

on:
push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
deploy:
runs-on: ubuntu-18.04
steps:
- name: Deploy CPA Dash
- uses: appleboy/ssh-action@master
- with:
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVICES_HOST }}
username: ${{ secrets.SERVICES_USER }}
key: ${{ secrets.SERVICES_SSH_PRIVATE_KEY }}
script: |
cd mra-core && git checkout . && git checkout master && git pull
cd cpa/cpadashdocker && git checkout master && git pull
docker-compose down
docker-compose up --build -d

0 comments on commit b7c9b98

Please sign in to comment.