Skip to content

Commit

Permalink
Support SSH to IPv6 EC2 instance for Turms playground
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesChenX committed Mar 24, 2024
1 parent 4e5bd9e commit c20cba4
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/deploy-playground.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,20 @@ jobs:
if: ${{ !github.event.workflow_run || github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-22.04
steps:
- name: Set up WARP
uses: fscarmen/[email protected]
with:
stack: dual

- name: SSH
uses: appleboy/[email protected]
# FIXME: Use the "master" branch as a workaround because
# ssh-action hasn't released a new version that supports IPv6.
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.PLAYGROUND_SSH_HOST }}
username: ${{ secrets.PLAYGROUND_SSH_USERNAME }}
key: ${{ secrets.PLAYGROUND_SSH_KEY }}
protocol: tcp6
script_stop: true
script: |
cd /opt/turms
Expand Down

0 comments on commit c20cba4

Please sign in to comment.