Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rainoffallingstar committed Apr 11, 2024
1 parent f465c84 commit c44da75
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 148 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
^.*\.Rproj$
^\.Rproj\.user$
^dockerR\.Rproj$
^.github$
50 changes: 0 additions & 50 deletions .github/workflows/R-CMD-check.yaml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/fusenflate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Deploy to RStudio Connect

on:
push:
branches:
- master

jobs:
deploy:
runs-on: ubuntu-latest
container:
image: rocker/verse:latest

steps:

- name: Checkout repository
uses: actions/checkout@v2

- name: Install dependencies
run: install2.r --error pak

- name: Install fusen
run: |
pak::pak("fusen")
fusen::inflate(flat_file = "dev/flat_first.Rmd",check = FALSE,open_vignette = FALSE,document = TRUE,overwrite = "yes")
shell: Rscript {0}

- name: Push results
run: |
git add --all *
git commit -m "inflate Update"
git push -q https://${{secrets.GH_TOKEN}}@github.com/${{secrets.GH_REPOSITORY}}.git HEAD:master
48 changes: 0 additions & 48 deletions .github/workflows/pkgdown.yaml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/test-coverage.yaml

This file was deleted.

0 comments on commit c44da75

Please sign in to comment.