Trying deploy
This commit is contained in:
parent
30a89d6662
commit
f6823579e9
1 changed files with 10 additions and 2 deletions
|
|
@ -101,7 +101,15 @@ jobs:
|
|||
docker image tag ${{ env.CONTAINER_NAME }}:latest ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ env.CONTAINER_NAME }}:${{ steps.prepare-env.outputs.VERSION }}
|
||||
docker image push ${{ env.REGISTRY }}/${{ env.OWNER }}/${{ env.CONTAINER_NAME }}:${{ steps.prepare-env.outputs.VERSION }}
|
||||
- name: Server deploy
|
||||
run: |
|
||||
echo "Deploy to server not implemented yet."
|
||||
uses: https://github.com/appleboy/ssh-action@v1
|
||||
with:
|
||||
host: ${{ secrets.DEPLOY_HOST }}
|
||||
username: ${{ secrets.DEPLOY_USER }}
|
||||
key: ${{ secrets.DEPLOY_KEY }}
|
||||
script: |
|
||||
whoami
|
||||
pwd
|
||||
docker info
|
||||
docker ps --all
|
||||
|
||||
####
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue