Skip to content

Merge branch 'main' of https://github.com/boostcampaitech5/level3_cv_… #80

Merge branch 'main' of https://github.com/boostcampaitech5/level3_cv_…

Merge branch 'main' of https://github.com/boostcampaitech5/level3_cv_… #80

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: GPU1-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.HOST1}}
username: ${{secrets.USERNAME1}}
key: ${{secrets.SSH_KEY1}}
port: ${{secrets.PORT1}}
script: |
cd /opt/ml/level3_cv_finalproject-cv-16/cicd
sh deploy_ssh.sh