From 8c0bc25363f63b1009b5ea83fa35f02c1b6bd868 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Sat, 28 Oct 2023 08:52:13 +0200 Subject: [PATCH] Use deploy key To avoid specific users being the source of cron updates --- .github/workflows/gh-pages.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 376f14eb9..f0913a8a4 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -76,8 +76,9 @@ jobs: fi - name: Deploy to GitHub Pages - uses: JamesIves/github-pages-deploy-action@v4.2.2 + uses: JamesIves/github-pages-deploy-action@v4 with: branch: gh-pages clean: true folder: site + ssh-key: ${{ secrets.DEPLOY_TO_GH_PAGES_PRIVATE_KEY }}