Error: Process completed with exit code 126.
Hey i treid setting it up with a privated repo and it wont work could someone help me thanks
error:
/home/runner/work/_temp/c028c4fe-33b2-43fe-8608-67fa8e98025a.sh: line 254: .git/FETCH_HEAD: Permission denied
Error: Process completed with exit code 126.
workflow: `name: Deploy to remote Server
on: workflow_dispatch: push: branches: - main
jobs:
deploy_job:
runs-on: ubuntu-latest
name: Deploy
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 📂 Sync files
uses: milanmk/actions-file-deployer@master
with:
remote-protocol: "sftp"
remote-host: ${{ secrets.SFTP_SERVER }}
remote-user: ${{ secrets.SFTP_USERNAME }}
remote-password: ${{ secrets.SFTP_PASSWORD }}
remote-port: ${{ secrets.SFTP_PORT }}
remote-path: ./
sync: delta
sync-delta-excludes: |
.github/**
.git/**
README.md`
Seems like a file permission issue in the runner. Are you running this in a self-hosted runner?
Seems like a file permission issue in the runner. Are you running this in a self-hosted runner?
I just added your action to a workflow like the examples
Please share the run logs for this workflow.