Browse Source

update main workflow to use alternative ssh port

Mark Szepieniec 3 years ago
parent
commit
f6f5f234a2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/main.yml

+ 2 - 2
.github/workflows/main.yml

@@ -25,7 +25,7 @@ jobs:
         volumes:
           - ${{ github.workspace }}:${{ github.workspace }}
         ports:
-          - 22:22
+          - 32001:22
 
     steps:
       # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
@@ -35,7 +35,7 @@ jobs:
         run: 'ls -al'
 
       - name: Build resume
-        run: 'ssh buildhost pwd #make'
+        run: 'ssh -p 32001 buildhost pwd #make'
 
       - name: Upload a Build Artifact
         uses: actions/upload-artifact@v2.2.3