File tree 1 file changed +18
-11
lines changed
1 file changed +18
-11
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ name: pkgdown
15
15
16
16
jobs :
17
17
pkgdown :
18
+ name : Render-dashboard
18
19
runs-on : ubuntu-latest
19
20
# Only restrict concurrency for non-PR jobs
20
21
concurrency :
@@ -38,14 +39,20 @@ jobs:
38
39
- name : Build site
39
40
run : pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE)
40
41
shell : Rscript {0}
41
- - name : git config
42
- run : |
43
- git config --global user.email '[email protected] '
44
- git config --global user.name 'gh-pages committer'
45
- - name : Deploy to GitHub pages 🚀
46
- if : github.event_name != 'pull_request'
47
-
48
- with :
49
- clean : false
50
- branch : gh-pages
51
- folder : docs
42
+ # Deployment job
43
+ deploy :
44
+ if : github.event_name != 'pull_request'
45
+ environment :
46
+ name : github-pages
47
+ url : ${{ steps.deployment.outputs.page_url }}
48
+ runs-on : ubuntu-latest
49
+ needs : pkgdown
50
+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
51
+ permissions :
52
+ pages : write # to deploy to Pages
53
+ id-token : write # to verify the deployment originates from an appropriate source
54
+ steps :
55
+ - name : Deploy to GitHub Pages
56
+ id : deployment
57
+ uses : actions/deploy-pages@v4
58
+
You can’t perform that action at this time.
0 commit comments