Skip to content

Update deploy_GPU1.yml #22

Update deploy_GPU1.yml

Update deploy_GPU1.yml #22

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
name: CICD-SSH
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: executing remote ssh commands using ssh key
uses: appleboy/ssh-action@master
with:
host: ${{secrets.HOST}}
username: ${{secrets.USERNAME}}
key: ${{secrets.SSH_KEY}}
port: 22
script: |
cd ~/${{github.event.repository.name}}/cicd
sh deploy_ssh.sh