This commit is contained in:
AndrewMarchukov 2022-11-06 00:20:11 +04:00
parent 1685737332
commit cff773bd51

View file

@ -51,17 +51,17 @@ jobs:
git config --global user.email "${EMAIL}"
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/AndrewMarchukov/insurgency-sandstorm-server-dockerize.git
- name: check for changes
if: steps.status.outcome == 'success'
if: steps.build.outcome == 'success'
run: git status
- name: stage changed files
if: steps.status.outcome == 'success'
if: steps.build.outcome == 'success'
run: git add sandstorm.version
- name: commit changed files
if: steps.status.outcome == 'success'
if: steps.build.outcome == 'success'
run: git commit -m "Auto updating sandstorm.version"
- name: fetch from master
if: steps.status.outcome == 'success'
if: steps.build.outcome == 'success'
run: git fetch origin master
- name: push code to master
if: steps.status.outcome == 'success'
if: steps.build.outcome == 'success'
run: git push origin HEAD:master