compact workflows
This commit is contained in:
parent
667f30de2e
commit
7583c61bb6
4 changed files with 15 additions and 22 deletions
|
@ -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 }}
|
|
|
@ -1,4 +1,3 @@
|
||||||
name: "Update wiki"
|
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
update:
|
update:
|
||||||
|
@ -43,3 +42,16 @@ jobs:
|
||||||
git config --global user.email 'modupdater@incest.world'
|
git config --global user.email 'modupdater@incest.world'
|
||||||
git commit -am "Automated wiki update"
|
git commit -am "Automated wiki update"
|
||||||
git push
|
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 }}
|
||||||
|
|
|
@ -4,13 +4,9 @@ hash-format = "sha256"
|
||||||
file = ".forgejo/scripts/update-wiki.py"
|
file = ".forgejo/scripts/update-wiki.py"
|
||||||
hash = "96033d007f13f5c4c4a6e38f796ded00d9523bf54c621dc621f967c627f554b1"
|
hash = "96033d007f13f5c4c4a6e38f796ded00d9523bf54c621dc621f967c627f554b1"
|
||||||
|
|
||||||
[[files]]
|
|
||||||
file = ".forgejo/workflows/restart-server.yaml"
|
|
||||||
hash = "95c43838ab28dcbbea297a358aceb33912fa46cb5ef897a29c66cea7348f4410"
|
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = ".forgejo/workflows/update-wiki.yaml"
|
file = ".forgejo/workflows/update-wiki.yaml"
|
||||||
hash = "6e990f44dddb30ea7d077fff7198c09c1f75920c6ff17ac0fed5604ed1829753"
|
hash = "99e3872759c15a0bf55f9469c2a3a881b84b1550b311f744ebdf46f14042275f"
|
||||||
|
|
||||||
[[files]]
|
[[files]]
|
||||||
file = "mods/alternate-current.pw.toml"
|
file = "mods/alternate-current.pw.toml"
|
||||||
|
|
|
@ -6,7 +6,7 @@ pack-format = "packwiz:1.1.0"
|
||||||
[index]
|
[index]
|
||||||
file = "index.toml"
|
file = "index.toml"
|
||||||
hash-format = "sha256"
|
hash-format = "sha256"
|
||||||
hash = "bd5c02f0fd6b0619f8423751e8ac7f8da26cca0e7bf7c12a0fceb0376007dec2"
|
hash = "72b9f3a6937dbf06e8cf193e1a26a1540a2d8b3ab20ff5619dfa247402a2289b"
|
||||||
|
|
||||||
[versions]
|
[versions]
|
||||||
fabric = "0.16.5"
|
fabric = "0.16.5"
|
||||||
|
|
Loading…
Add table
Reference in a new issue