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: push:
branches: branches:
- main - main
tags:
- 'v*'
jobs: jobs:
pulling: pulling:
@@ -14,7 +12,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
container: container:
image: ddockera/alpine-git-ssh image: alpine/git
volumes: volumes:
- /mnt/host/c/Apps/Programs/Docker/project:/workspace/LeterZP/project # путь поменяется по мере деплоя - /mnt/host/c/Apps/Programs/Docker/project:/workspace/LeterZP/project # путь поменяется по мере деплоя
@@ -26,11 +24,6 @@ jobs:
steps: steps:
- name: pull changes to destination repo - name: pull changes to destination repo
env:
GIT_SSH_COMMAND: "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
run: | run: |
mkdir -p ~/.ssh
echo "${{ secrets.RUNNER_SSH_KEY }}"> ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
git fetch origin main git fetch origin main
git reset --hard origin/main git reset --hard origin/main