Skip to content

Brodey | CI

Brodey | CI #7

Workflow file for this run

name: Scuda CI
on:
pull_request:
branches: [main]
jobs:
tailscale_job:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: k4oU8AFYf121CNTRL
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci,tag:production
- name: Verify Tailscale IP
run: tailscale ip
- name: Run tests
run: |
ssh -o StrictHostKeyChecking=no -i ~/.ssh/id_rsa [email protected] 'bash -s' <<'EOF'
#!/bin/bash
cd /home/brodey/scuda-latest
ls
EOF
- name: Disconnect Tailscale
run: tailscale logout