From 90d3b394871b259d28ba87e11c1ceb497058075b Mon Sep 17 00:00:00 2001 From: Lukas Wallrich Date: Sat, 9 Nov 2024 13:12:20 +0000 Subject: [PATCH] Set GH tokens --- .github/workflows/document-and-deploy-manual.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/document-and-deploy-manual.yml b/.github/workflows/document-and-deploy-manual.yml index 4c31e38..c3a6258 100644 --- a/.github/workflows/document-and-deploy-manual.yml +++ b/.github/workflows/document-and-deploy-manual.yml @@ -64,6 +64,8 @@ jobs: - name: Deploy stable version from main if: github.ref == 'refs/heads/main' + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} run: | R -e " install.packages(c('rsconnect', 'remotes')); @@ -72,6 +74,8 @@ jobs: rsconnect::deployApp(appName = 'CiteSource', appDir = './inst/shiny-app/CiteSource', forceUpdate = TRUE)" - name: Create pkgdown + env: + GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} run: | R -e " install.packages('pkgdown');