Update .forgejo/workflows/automation.yaml
Some checks failed
/ Update wiki (push) Has been cancelled

This commit is contained in:
Lilith Ashley Nyx Arson 🔥 2025-01-08 10:18:22 +01:00
parent 4a2ffa0153
commit 9570d24a03

View file

@ -41,17 +41,4 @@ jobs:
git config --global user.name 'Modpack Wiki Updater'
git config --global user.email 'modupdater@incest.world'
git commit -am "Automated wiki update"
git push
restart:
if: "contains(github.event.head_commit.message, '[restart]')"
name: "Restart server"
runs-on: ubuntu-latest
steps:
- name: Restart the server
uses: https://git.incest.world/actions/ssh-action@master
with:
host: ${{ vars.SSH_SERVER }}
username: ${{ secrets.SSH_USER }}
key: ${{ secrets.SSH_KEY }}
script: ${{ vars.RESTART_COMMAND }}
git push