Skip to content

Commit

Permalink
change the order of line of code in .github/workflows/pkgdown.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinyao Tian committed Sep 6, 2024
1 parent 7b460ea commit 85c5d25
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: [main, master]
Expand All @@ -9,8 +7,6 @@ on:
types: [published]
workflow_dispatch:

name: pkgdown.yaml

permissions: read-all

jobs:
Expand All @@ -25,13 +21,17 @@ jobs:
contents: write
steps:
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true

# Install dependencies, including EveTemplate
- name: Install dependencies
run: |
install.packages('remotes')
remotes::install_github("neuroconductor/EveTemplate")
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: any::pkgdown, local::.
Expand All @@ -48,7 +48,3 @@ jobs:
clean: false
branch: gh-pages
folder: docs
- name: Install dependencies
run: |
install.packages('remotes')
remotes::install_github("neuroconductor/EveTemplate")

0 comments on commit 85c5d25

Please sign in to comment.