Merge remote-tracking branch 'refs/remotes/origin/main'
Some checks failed
/ Update wiki (push) Has been cancelled
Some checks failed
/ Update wiki (push) Has been cancelled
This commit is contained in:
commit
2f691aeae7
1 changed files with 3 additions and 16 deletions
|
@ -19,7 +19,7 @@ jobs:
|
|||
|
||||
- name: Restore cached licenses
|
||||
id: cache-licenses-restore
|
||||
uses: actions/cache/restore@v4
|
||||
uses: actions/cache/restore@v3
|
||||
with:
|
||||
path: cache
|
||||
key: licenses
|
||||
|
@ -29,7 +29,7 @@ jobs:
|
|||
|
||||
- name: Save cached licenses
|
||||
id: cache-licenses-save
|
||||
uses: actions/cache/save@v4
|
||||
uses: actions/cache/save@v3
|
||||
with:
|
||||
path: cache
|
||||
key: ${{ steps.cache-licenses-restore.outputs.cache-primary-key }}
|
||||
|
@ -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
|
Loading…
Add table
Reference in a new issue