Skip to content

Commit

Permalink
Test new GHA setup
Browse files Browse the repository at this point in the history
  • Loading branch information
kbjarkefur authored Jan 11, 2024
1 parent e8828d4 commit ac4ddeb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build_adodown_site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ on:
name: Build Site

jobs:
adodown:
adodownr:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Checkout project
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1
with:
fetch-depth: 0

Expand Down Expand Up @@ -49,20 +49,20 @@ jobs:
run: install.packages("devtools")
shell: Rscript {0}

- name: Install adodown
run: devtools::install_github("arthur-shaw/adodown")
- name: Install adodownr
run: devtools::install_github("lsms-worldbank/adodownr")
shell: Rscript {0}

- name: Install here
run: install.packages("here")
shell: Rscript {0}

- name: Build site
run: adodown::build_site(pkg_dir = here::here(), site_dir = here::here())
run: adodownr::build_site(pkg_dir = here::here(), site_dir = here::here())
shell: Rscript {0}

- name: Deploy to GitHub pages
uses: JamesIves/github-pages-deploy-action@4.1.4
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
clean: false
folder: docs
Expand Down

0 comments on commit ac4ddeb

Please sign in to comment.