Skip to content

Commit

Permalink
Bump ssh-action version and use bash instead of sh for scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
deepjyoti30 committed Oct 30, 2023
1 parent 4e65ddb commit d57757b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/binary-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
VERSION: ${{ github.event.release.tag_name }}
- name: building binaries for eaas deployments
uses: appleboy/ssh-action@v0.1.7
uses: appleboy/ssh-action@v1.0.0
env:
VERSION: ${{ github.event.release.tag_name }}
with:
Expand All @@ -68,7 +68,7 @@ jobs:
command_timeout: 3600s
envs: VERSION
script: |
sh build.sh ${VERSION}
bash build.sh ${VERSION}
build-sls:
name: Build SLS binary
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
event_name: new_sls_release
secrets:
token: ${{ secrets.REPO_ACCESS_TOKEN }}

send-docker-event-arc:
name: Send Docker Event
needs: [build-arc, determine_whether_to_run]
Expand All @@ -122,7 +122,7 @@ jobs:
- name: Send repo dispatch
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: appbaseio-confidential/rs-api-server
event-type: publish_docker
client-payload: '{"version": "${{ needs.determine_whether_to_run.outputs.version }}" }'
token: ${{ secrets.REPO_ACCESS_TOKEN }}
repository: appbaseio-confidential/rs-api-server
event-type: publish_docker
client-payload: '{"version": "${{ needs.determine_whether_to_run.outputs.version }}" }'

0 comments on commit d57757b

Please sign in to comment.