This commit is contained in:
LeterZP
2026-05-23 13:07:13 +03:00
parent aa528facea
commit b32a9adf4e
+1 -8
View File
@@ -4,8 +4,6 @@ on:
push:
branches:
- main
tags:
- 'v*'
jobs:
pulling:
@@ -14,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
container:
image: ddockera/alpine-git-ssh
image: alpine/git
volumes:
- /mnt/host/c/Apps/Programs/Docker/project:/workspace/LeterZP/project # путь поменяется по мере деплоя
@@ -26,11 +24,6 @@ jobs:
steps:
- name: pull changes to destination repo
env:
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
run: |
mkdir -p ~/.ssh
echo "${{ secrets.RUNNER_SSH_KEY }}"> ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
git fetch origin main
git reset --hard origin/main