@@ -30,34 +30,43 @@ jobs:
30
30
libfribidi-dev \
31
31
pandoc
32
32
33
+ - name : Install R dependencies
34
+ run : |
35
+ R -e "install.packages('devtools')"
36
+ R -e "install.packages('roxygen2')"
37
+ R -e "install.packages('pkgdown')"
33
38
34
- - name : Install R dependencies
35
- run : |
36
- R -e "install.packages('devtools')"
37
- R -e "install.packages('roxygen2')"
38
- R -e "install.packages('pkgdown')"
39
-
40
- - name : Install R packages
41
- run : |
42
- source("preprocessing/install_imports.R")
43
- shell : Rscript {0}
39
+ - name : Install R packages
40
+ run : |
41
+ source("preprocessing/install_imports.R")
42
+ shell : Rscript {0}
44
43
45
- - name : cleanup_reference_manual
46
- run : |
47
- source("preprocessing/cleanup_reference_manual.R")
48
- shell : Rscript {0}
44
+ - name : cleanup_reference_manual
45
+ run : |
46
+ source("preprocessing/cleanup_reference_manual.R")
47
+ shell : Rscript {0}
49
48
50
- - name : Build and document package
51
- run : |
49
+ - name : Build and document package
50
+ run : |
52
51
R -e "devtools::document()"
53
52
R -e "pkgdown::build_site()"
54
53
55
- - name : Commit and push changes
56
- if : success()
57
- uses : devops-infra/action-commit-push@master
58
- with :
59
- github_token : ${{ secrets.AUTOMATISATION }}
60
- commit_prefix : " [AUTO]"
61
- commit_message : " update fistools"
62
- debug : ${{ secrets.ACTIONS_STEP_DEBUG }}
63
- target_branch : ${{ github.head_ref || github.ref_name }}
54
+ - name : Pull latest changes
55
+ run : |
56
+ git pull origin ${{ github.head_ref || github.ref_name }}
57
+ shell : bash
58
+
59
+ - name : Merge changes
60
+ run : |
61
+ git merge --no-edit origin/${{ github.head_ref || github.ref_name }}
62
+ shell : bash
63
+
64
+ - name : Commit and push changes
65
+ if : success()
66
+ uses : devops-infra/action-commit-push@master
67
+ with :
68
+ github_token : ${{ secrets.AUTOMATISATION }}
69
+ commit_prefix : " [AUTO]"
70
+ commit_message : " update fistools"
71
+ debug : ${{ secrets.ACTIONS_STEP_DEBUG }}
72
+ target_branch : ${{ github.head_ref || github.ref_name }}
0 commit comments