😎 Give your xaringan slides some style
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

34 lines
902B

  1. # Workflow derived from https://github.com/r-lib/actions/tree/master/examples
  2. # Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
  3. on:
  4. push:
  5. branches: [main, master]
  6. tags: ['*']
  7. name: pkgdown
  8. jobs:
  9. pkgdown:
  10. runs-on: ubuntu-latest
  11. env:
  12. GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
  13. steps:
  14. - uses: actions/checkout@v2
  15. - uses: r-lib/actions/setup-pandoc@v1
  16. - uses: r-lib/actions/setup-r@v1
  17. with:
  18. use-public-rspm: true
  19. - uses: r-lib/actions/setup-r-dependencies@v1
  20. with:
  21. extra-packages: pkgdown
  22. needs: website
  23. - name: Deploy package
  24. run: |
  25. git config --local user.name "$GITHUB_ACTOR"
  26. git config --local user.email "$GITHUB_ACTOR@users.noreply.github.com"
  27. Rscript -e 'pkgdown::deploy_to_branch(new_process = FALSE)'