File tree Expand file tree Collapse file tree 2 files changed +10
-33
lines changed
Expand file tree Collapse file tree 2 files changed +10
-33
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ name: pkgdown.yaml
1313permissions : read-all
1414
1515jobs :
16- build :
16+ build-and-deploy :
1717 name : Build site
1818 runs-on : ubuntu-latest
1919 # Only restrict concurrency for non-PR jobs
@@ -51,35 +51,12 @@ jobs:
5151 ls -la docs
5252 shell : bash
5353
54- - name : Upload Pages artifact
55- uses : actions/upload-pages-artifact@v3
54+ - name : Deploy to GitHub pages 🚀
55+ if : github.event_name != 'pull_request'
56+ uses : JamesIves/github-pages-deploy-action@v4.5.0
5657 with :
57- path : docs
58+ clean : false
59+ branch : gh-pages
60+ folder : docs
61+
5862
59- deploy :
60- name : Deploy to GitHub Pages
61- needs : build
62- runs-on : ubuntu-latest
63- environment :
64- name : github-pages
65- permissions :
66- pages : write
67- id-token : write
68- contents : read
69- steps :
70- - name : Verify docs exist immediately before deploy
71- run : |
72- echo "PWD: $(pwd)"
73- echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
74- echo "ls -la repo root:"
75- ls -la
76- echo "ls -la docs:"
77- ls -la docs || (echo "ERROR: docs not found" && false)
78- shell : bash
79-
80- - name : (optional) wait a moment for FS to settle
81- run : sleep 2
82- shell : bash
83-
84- - name : Deploy to GitHub Pages
85- uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 22
33<!-- badges: start -->
44
5- <img src =" man/figures/iddoverse_hexsticker_solid.png " align =" right " height =" 60 " />
5+ <img src =" man/figures/iddoverse_hexsticker_solid.png " align =" right " height =" 120 " />
66
77[ ![ Lifecycle: experimental] ( https://img.shields.io/badge/lifecycle-experimental-orange.svg )] ( https://lifecycle.r-lib.org/articles/stages.html#experimental )
88[ ![ CRAN status] ( https://www.r-pkg.org/badges/version/iddoverse )] ( https://CRAN.R-project.org/package=iddoverse )
1616## Purpose
1717
1818To create analysis ready datasets ('analysis datasets') for researchers
19- using data stored in the Infectious Diseases Data Observatory (IDDO) respoitory .
19+ using data stored in the Infectious Diseases Data Observatory (IDDO) repository .
2020
2121These reusable
2222functions aim to provide a toolbox for researchers to modify the
You can’t perform that action at this time.
0 commit comments