Skip to content

run raw

run raw #7

Workflow file for this run

name: Run experiment via SSH
on:
push:
branches:
- runpod-rl_hopper # Set your branch here
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up SSH connection
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.PRIVATE_KEY_GITHUB_ACTION }}
- name: SSH and Run
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.REMOTE_MACHINE_CONNECTION_STR }} << 'EOF'
cd ~/thinking
git pull
source .venv/bin/activate
python3 tasks/rl_hopper.py --clear
python3 tasks/rl_hopper.py
EOF