diff --git a/.forgejo/workflows/restart-server.yaml b/.forgejo/workflows/restart-server.yaml deleted file mode 100644 index ada48ff..0000000 --- a/.forgejo/workflows/restart-server.yaml +++ /dev/null @@ -1,15 +0,0 @@ -name: "Update wiki" -on: [push] -jobs: - 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 }} diff --git a/.forgejo/workflows/update-wiki.yaml b/.forgejo/workflows/update-wiki.yaml index 01416e5..af334c3 100644 --- a/.forgejo/workflows/update-wiki.yaml +++ b/.forgejo/workflows/update-wiki.yaml @@ -1,4 +1,3 @@ -name: "Update wiki" on: [push] jobs: update: @@ -43,3 +42,16 @@ jobs: 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 }} diff --git a/index.toml b/index.toml index caed75a..be582eb 100644 --- a/index.toml +++ b/index.toml @@ -4,13 +4,9 @@ hash-format = "sha256" file = ".forgejo/scripts/update-wiki.py" hash = "96033d007f13f5c4c4a6e38f796ded00d9523bf54c621dc621f967c627f554b1" -[[files]] -file = ".forgejo/workflows/restart-server.yaml" -hash = "95c43838ab28dcbbea297a358aceb33912fa46cb5ef897a29c66cea7348f4410" - [[files]] file = ".forgejo/workflows/update-wiki.yaml" -hash = "6e990f44dddb30ea7d077fff7198c09c1f75920c6ff17ac0fed5604ed1829753" +hash = "99e3872759c15a0bf55f9469c2a3a881b84b1550b311f744ebdf46f14042275f" [[files]] file = "mods/alternate-current.pw.toml" diff --git a/pack.toml b/pack.toml index 73692b4..53028a1 100644 --- a/pack.toml +++ b/pack.toml @@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0" [index] file = "index.toml" hash-format = "sha256" -hash = "bd5c02f0fd6b0619f8423751e8ac7f8da26cca0e7bf7c12a0fceb0376007dec2" +hash = "72b9f3a6937dbf06e8cf193e1a26a1540a2d8b3ab20ff5619dfa247402a2289b" [versions] fabric = "0.16.5"