Skip to content

Feature: Robust GWR #108

Feature: Robust GWR

Feature: Robust GWR #108

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Deploy static content to Pages
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "master" branch
push:
branches: [ "master", "feat/vignettes", "vignette/**" ]
pull_request:
branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
concurrency:
group: "pages"
cancel-in-progress: true
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# Build quarto doc
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Install C++ dependencies
run: |
sudo apt-get update -qq
sudo apt-get install -qq libgsl-dev
- name: Set up R
uses: r-lib/actions/setup-r@v2
- name: Install Dependencies
uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 2
extra-packages: |
any::pkgdown
# Render quarto website
- name: Render pkgdown site
run: R -e "pkgdown::build_site()"
# Upload to artifact
- name: Upload website
uses: actions/upload-pages-artifact@v3
with:
path: 'docs'
deploy:
needs: build
if: github.ref_name == 'master'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2