name: deploy-testing on: push: branches: [testing] jobs: deploy: runs-on: host steps: - run: | G="git --git-dir=/home2/httpd/repos/testing.git --work-tree=/home2/httpd/html/mojo.bateworld.com/public_html" $G fetch origin $G reset --hard origin/testing