Skip to content

Commit e862640

Browse files
committed
Use older version of ssh-action to run the script
1 parent a69cd17 commit e862640

1 file changed

Lines changed: 1 addition & 25 deletions

File tree

.github/workflows/binary-publish.yml

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -33,30 +33,8 @@ jobs:
3333
steps:
3434
- name: Checkout Repository
3535
uses: actions/checkout@v2
36-
- name: building binaries for ami
37-
uses: appleboy/ssh-action@v0.1.7
38-
env:
39-
VERSION: ${{ github.event.release.tag_name }}
40-
with:
41-
host: ${{ secrets.AWS_BUILD_HOST }}
42-
username: ${{ secrets.AWS_BUILD_USERNAME }}
43-
key: ${{ secrets.AWS_BUILD_KEY }}
44-
port: 22
45-
envs: VERSION
46-
script: |
47-
export PATH=$PATH:/usr/local/go/bin && sh build.sh ${VERSION}
48-
- name: Build AMI
49-
uses: hashicorp/packer-github-actions@master
50-
with:
51-
command: build
52-
target: "./ami.json"
53-
env:
54-
PACKER_LOG: 1
55-
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
56-
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
57-
VERSION: ${{ github.event.release.tag_name }}
5836
- name: building binaries for eaas deployments
59-
uses: appleboy/ssh-action@v1.0.0
37+
uses: appleboy/ssh-action@v0.1.7
6038
env:
6139
VERSION: ${{ github.event.release.tag_name }}
6240
with:
@@ -68,9 +46,7 @@ jobs:
6846
command_timeout: 3600s
6947
envs: VERSION
7048
script: |
71-
echo $SHELL
7249
source ~/.bashrc
73-
echo $PATH
7450
sh build.sh ${VERSION}
7551
7652
build-sls:

0 commit comments

Comments
 (0)