Skip to content

fix

fix #57

Workflow file for this run

name: CD
on:
push:
branches: [main]
jobs:
deploy_with_ssh:
#needs: []
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
key: ${{ secrets.PRIVATE_KEY }}
script: |
docker run hello-world
# deploy_on_self_runner:
# runs-on: self-hosted
# steps:
# - name: checkout repo
# uses: actions/checkout@v3
# - name: docker test
# run: docker run hello-world
# - name: check ls
# run: ls