Skip to content

v2.0

v2.0 #7

Workflow file for this run

name: CI Deploy
on:
push:
branches:
- remote_access
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up SSH
uses: appleboy/ssh-action@v1.0.3
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
script: |
cd /root/ansible-script
git checkout remote_access
git pull
ansible-playbook docker.yaml