From 9570d24a03601a11a753d16edcdb77deecb629c5 Mon Sep 17 00:00:00 2001 From: lilith Date: Wed, 8 Jan 2025 10:18:22 +0100 Subject: [PATCH 1/2] Update .forgejo/workflows/automation.yaml --- .forgejo/workflows/automation.yaml | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/.forgejo/workflows/automation.yaml b/.forgejo/workflows/automation.yaml index af334c3..6818770 100644 --- a/.forgejo/workflows/automation.yaml +++ b/.forgejo/workflows/automation.yaml @@ -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 \ No newline at end of file From 9b4f08829bad748cd2a879bbdc321ea8bafb3c76 Mon Sep 17 00:00:00 2001 From: lilith Date: Wed, 8 Jan 2025 10:23:55 +0100 Subject: [PATCH 2/2] Update .forgejo/workflows/automation.yaml --- .forgejo/workflows/automation.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.forgejo/workflows/automation.yaml b/.forgejo/workflows/automation.yaml index 6818770..3dcf7cb 100644 --- a/.forgejo/workflows/automation.yaml +++ b/.forgejo/workflows/automation.yaml @@ -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 }}