This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests on Remote Server for PR | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: 'Branch to test' | ||
required: true | ||
default: 'main' | ||
jobs: | ||
remote-test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up SSH | ||
uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }} | ||
- name: Pull and run tests on PR code from remote server | ||
run: | | ||
touch test.txt; | ||