浏览代码

update main workflow to use alternative ssh port

Mark Szepieniec 3 年之前
父节点
当前提交
f6f5f234a2
共有 1 个文件被更改,包括 2 次插入2 次删除
  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