From d8ae0a5406f706f78e0a9221fb0ddad3a7c64f1c Mon Sep 17 00:00:00 2001 From: Nicolas Picon Date: Tue, 27 Aug 2024 23:42:11 +0200 Subject: [PATCH] feat: allow configurable delay before server restart (#105) using DELAY_BEFORE_RESTART GitHub Actions variable --- .github/workflows/restart-server.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/restart-server.yml b/.github/workflows/restart-server.yml index 96a85cc..f2d8bb9 100644 --- a/.github/workflows/restart-server.yml +++ b/.github/workflows/restart-server.yml @@ -19,7 +19,7 @@ jobs: } - name: Wait until the server has stopped run: | - sleep 15 + sleep ${{ vars.DELAY_BEFORE_RESTART }} - name: Restart Server uses: fjogeleit/http-request-action@v1 with: