From 216456c3022aee623ff2d6da32af4a32dd2b73c1 Mon Sep 17 00:00:00 2001 From: nsheff Date: Thu, 16 Nov 2023 20:20:52 -0500 Subject: [PATCH] actions work. --- .../{new-build-R.yml => R-CMD-check.yml} | 0 .github/workflows/pkgdown.yml | 15 +++------------ 2 files changed, 3 insertions(+), 12 deletions(-) rename .github/workflows/{new-build-R.yml => R-CMD-check.yml} (100%) diff --git a/.github/workflows/new-build-R.yml b/.github/workflows/R-CMD-check.yml similarity index 100% rename from .github/workflows/new-build-R.yml rename to .github/workflows/R-CMD-check.yml diff --git a/.github/workflows/pkgdown.yml b/.github/workflows/pkgdown.yml index 4ed06a1..b00747b 100644 --- a/.github/workflows/pkgdown.yml +++ b/.github/workflows/pkgdown.yml @@ -3,12 +3,7 @@ on: branches: - master workflow_dispatch: - inputs: - branch: - description: 'Repo branch to checkout' - required: false - default: 'master' - + name: Deploy-package-documentation jobs: @@ -17,12 +12,8 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} steps: - - uses: actions/checkout@v3 - with: - # The branch, tag or SHA to checkout. When checking out the repository that - # triggered a workflow, this defaults to the reference or SHA for that event. - # Otherwise, uses the default branch. - ref: ${{ github.event.inputs.branch }} + - name: Running workflow from branch ${{ github.ref }} + uses: actions/checkout@v3 - uses: r-lib/actions/setup-pandoc@v2