Skip to content

Commit

Permalink
update pkgdown yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SpatLyu committed Aug 4, 2024
1 parent 9263d60 commit b2b0da6
Showing 1 changed file with 29 additions and 25 deletions.
54 changes: 29 additions & 25 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ reference:
contents:
- st_transform_cn

- title: Utility Functions
contents:
- list_geocn

home:
title: |
geocn | Loads Spatial Data Sets of China
Expand All @@ -45,28 +49,28 @@ authors:
Wenbo Lv:
href: https://spatlyu.github.io/

on:
push:
branches: main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up R
uses: r-lib/actions/setup-r@v2
with:
r-version: release
- name: Install dependencies
run: |
install.packages('remotes')
remotes::install_deps(dependencies = TRUE)
remotes::install_cran('pkgdown')
- name: Build site
run: |
Rscript -e 'pkgdown::build_site()'
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
# on:
# push:
# branches: main
# jobs:
# build-deploy:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - name: Set up R
# uses: r-lib/actions/setup-r@v2
# with:
# r-version: release
# - name: Install dependencies
# run: |
# install.packages('remotes')
# remotes::install_deps(dependencies = TRUE)
# remotes::install_cran('pkgdown')
# - name: Build site
# run: |
# Rscript -e 'pkgdown::build_site()'
# - name: Deploy to GitHub Pages
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./docs

0 comments on commit b2b0da6

Please sign in to comment.