build #10
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
- name: Build and push app
|
||||
run: |
|
||||
docker build -t ${{ secrets.GIT_HOST }}/${{ gitea.repository }}:app -f app/Dockerfile ./app
|
||||
docker push $ {{ secrets.GIT_HOST }}/${{ gitea.repository }}:app
|
||||
docker push ${{ secrets.GIT_HOST }}/${{ gitea.repository }}:app
|
||||
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -27,7 +27,7 @@ jobs:
|
|||
- name: Instasll SSH key
|
||||
uses: webfactory/ssh-agent@v.0.9.0
|
||||
with:
|
||||
ssh-private-key: $ {{ secrets.DEPLOY_SSH_KEY }}
|
||||
ssh-private-key: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||
|
||||
- name: Add host to known_hosts
|
||||
run: ssh-keyscan -H ${{ secrets.LXC_HOST }} >> ~/.ssh/known_hosts
|
||||
|
|
|
|||
Loading…
Reference in New Issue