Ultimos detalles
This commit is contained in:
@@ -29,12 +29,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: docker/login-action@v2
|
- name: Deploy
|
||||||
with:
|
|
||||||
registry: git.skrd.fun
|
|
||||||
username: ${{ github.repository_owner }}
|
|
||||||
password: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
|
|
||||||
- name: Configure connection to server
|
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.SERVER_PRIVATE_KEY }}" > private_key && chmod 600 private_key
|
echo "${{ secrets.SERVER_PRIVATE_KEY }}" > private_key && chmod 600 private_key
|
||||||
ssh -o StrictHostKeyChecking=no -i private_key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT || 22 }} '
|
ssh -o StrictHostKeyChecking=no -i private_key ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} -p ${{ secrets.SSH_PORT || 22 }} '
|
||||||
|
|||||||
Reference in New Issue
Block a user