I am trying to update a local server running some non-production versions of some of my company's sites to update whenever the main repository merges a pull request. However, the action stalls out when the action hits the git pul ...
line. The logs do not provide any information, the process seemingly halts. I can run the same commands in the command prompt. Any advice is appreciated.
main.yml
name: CI
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
deployment:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2
- name: Test
shell: cmd
run: actions.cmd
actions.cmd
cd path\to\stuff
git pull remoteName master
Update, ran into some weird caching issues but was able to clean up a little and got some error messages:
nothing to commit, working tree clean
fatal: 'github' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
success
Error: Process completed with exit code 1.
github is the name of the remote. Again, I can run these scripts normally, but maybe the workflow needs some additional authentication?