Skip to content

Commit

Permalink
new pkgdown yml
Browse files Browse the repository at this point in the history
  • Loading branch information
asitav-sen committed Aug 20, 2024
1 parent 42f30c2 commit c5bb5d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ on:
types: [published]
workflow_dispatch:

name: pkgdown
name: pkgdown.yaml

permissions: read-all

jobs:
pkgdown:
Expand All @@ -19,8 +21,10 @@ jobs:
group: pkgdown-${{ github.event_name != 'pull_request' || github.run_id }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

Expand All @@ -39,7 +43,7 @@ jobs:

- name: Deploy to GitHub pages 🚀
if: github.event_name != 'pull_request'
uses: JamesIves/github-pages-deploy-action@v4.4.1
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
clean: false
branch: gh-pages
Expand Down
12 changes: 0 additions & 12 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
url: https://asitav-sen.github.io/KoboconnectR/
template:
includes:
in_header: |
<script defer data-domain="asitav-sen.github.io/koboconnectr" src="https://webanal.tools.asitavsen.com/js/script.js"></script>
bootstrap: 5
bootswatch: sandstone
footer:
structure:
left: developed_by
right: legal
components:
legal: Provided without **any warranty**.
development:
mode: auto

0 comments on commit c5bb5d8

Please sign in to comment.