Skip to content

Commit

Permalink
Trigger happy test
Browse files Browse the repository at this point in the history
  • Loading branch information
pchelle committed Jan 26, 2024
1 parent 877c100 commit 622f385
Showing 1 changed file with 33 additions and 39 deletions.
72 changes: 33 additions & 39 deletions .github/workflows/dev-site-update.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,36 @@
name: pkgdown-dev
on:
pull_request:
branches:
- develop
types:
- closed

push:

jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch repo status
uses: r-lib/actions/pr-fetch@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Setup Pandoc for word conversion
uses: r-lib/actions/setup-pandoc@v2
- name: Install ospsuite ecosystem and cran packages
run: |
Rscript .github/workflows/install_dependencies.R
- name: Build dev site
run: |
pkgdown::build_site_github_pages()
shell: Rscript {0}
- name: Deploy to GitHub pages
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Fetch repo status
uses: r-lib/actions/pr-fetch@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Setup
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: Setup Pandoc for word conversion
uses: r-lib/actions/setup-pandoc@v2
- name: Install ospsuite ecosystem and cran packages
run: |
Rscript .github/workflows/install_dependencies.R
- name: Build dev site
run: |
pkgdown::build_site_github_pages()
shell: Rscript {0}
- name: Deploy to GitHub pages
uses: JamesIves/[email protected]
with:
clean: false
branch: gh-pages
folder: docs

0 comments on commit 622f385

Please sign in to comment.