From ec775a9ee30d060bb9ad18305226991b71a6cdf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Revilla?= Date: Tue, 21 May 2024 11:52:26 +0200 Subject: [PATCH 1/2] Change user profile --- .github/workflows/pkgdown.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index a4d60e4d..4d5866f3 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -39,6 +39,9 @@ jobs: - name: Build site run: pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) shell: Rscript {0} + + - name: Change user profile + shell: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com' - name: Deploy to GitHub pages 🚀 if: github.event_name != 'pull_request' From cf0b69cf5b90602d2d5875e8867106a96544b540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Revilla?= Date: Tue, 21 May 2024 12:41:28 +0200 Subject: [PATCH 2/2] Attempt to fix problem in yaml specification --- .github/workflows/pkgdown.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 4d5866f3..54facdb7 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -41,7 +41,8 @@ jobs: shell: Rscript {0} - name: Change user profile - shell: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com' + run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com' + shell: {0} - name: Deploy to GitHub pages 🚀 if: github.event_name != 'pull_request'