Skip to content

Commit

Permalink
Change OS name
Browse files Browse the repository at this point in the history
  • Loading branch information
richardreeve committed Nov 28, 2022
1 parent ceb1b23 commit d5e8171
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
@@ -59,7 +59,7 @@ jobs:
# Build and deploy DOCS -----------------------------------------------------

- name: Build Docs
if: runner.os == 'ubuntu'
if: runner.os == 'Ubuntu'
run: |
options(repos = c(CRAN = "https://cloud.r-project.org"))
install.packages("rsconnect")
@@ -68,11 +68,11 @@ jobs:
shell: Rscript {0}

- name: Test whether navbar entries are real
if: runner.os == 'ubuntu'
if: runner.os == 'Ubuntu'
run: Rscript inst/scripts/test_navbar.R

- name: Move ioslide lectures to docs
if: runner.os == 'ubuntu'
if: runner.os == 'Ubuntu'
run: |
devtools::install()
all_files <- dir(file.path("inst", "lectures"), recursive = TRUE,
@@ -94,7 +94,7 @@ jobs:
shell: Rscript {0}

- name: Move ioslide (html) lectures to docs
if: runner.os == 'ubuntu'
if: runner.os == 'Ubuntu'
run: |
# Find files
all_files <- dir(file.path("inst", "lectures"), recursive = TRUE, full.names = TRUE)
@@ -117,7 +117,7 @@ jobs:
shell: Rscript {0}

- name: Move learnr tutorials to docs
if: runner.os == 'ubuntu'
if: runner.os == 'Ubuntu'
run: |
if (!file.exists("docs")) dir.create("docs")
@@ -136,15 +136,15 @@ jobs:
shell: Rscript {0}

- name: Create a build_docs branch and commit to it
if: runner.os == 'ubuntu'
if: runner.os == 'Ubuntu'
run: |
git checkout -b build_docs
git add .
git commit -m 'build docs'
shell: bash

- name: Deploy Docs
if: runner.os == 'ubuntu'
if: runner.os == 'Ubuntu'
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: RPiR
Type: Package
Title: Reproducible Programming in R
Version: 0.76.15
Version: 0.76.16
Authors@R: c(person("Sonia", "Mitchell", email = "[email protected]",
role = c("aut"),
comment = c(ORCID = "0000-0003-1536-2066")),

0 comments on commit d5e8171

Please sign in to comment.