File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ name: Deploy
33on :
44 push :
55 branches :
6- - master
76 - main
7+ - master
88 pull_request :
99 branches :
10- - master
1110 - main
11+ - master
1212
1313jobs :
1414 deploy :
@@ -21,11 +21,11 @@ jobs:
2121 - name : Checkout code
2222 uses : actions/checkout@v3
2323
24- - name : Setup Ruby
24+ - name : Set up Ruby
2525 uses : ruby/setup-ruby@v1
2626 with :
2727 ruby-version : ' 3.1'
28- bundler-cache : true # enables built-in caching (you can remove the separate cache step)
28+ bundler-cache : true
2929
3030 - name : Install dependencies
3131 run : |
3434 bundle install --jobs 4 --retry 3
3535 npm install -g mermaid.cli
3636
37- - name : Setup deploy options
37+ - name : Install ImageMagick
38+ run : |
39+ sudo apt-get update
40+ sudo apt-get install -y imagemagick
41+
42+ - name : Set deploy options
3843 id : setup
3944 run : |
4045 git config --global user.name "GitHub Action"
5156
5257 - name : Deploy website
5358 run : |
54- yes | bash bin/deploy --verbose \
59+ echo "y" | bash bin/deploy --verbose \
5560 ${{ steps.setup.outputs.NO_PUSH }} \
5661 --src ${{ steps.setup.outputs.SRC_BRANCH }} \
5762 --deploy ${{ steps.setup.outputs.DEPLOY_BRANCH }}
You can’t perform that action at this time.
0 commit comments