File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -16,23 +16,29 @@ jobs:
1616 steps :
1717 - name : Checkout code
1818 uses : actions/checkout@v2
19+
1920 - name : Setup Ruby
2021 uses : ruby/setup-ruby@v1
2122 with :
2223 ruby-version : ' 3.1.4' # Update to latest 3.1.x version
24+
2325 - name : Enable bundler cache
2426 uses : actions/cache@v2
2527 with :
2628 path : vendor/bundle
2729 key : ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
2830 restore-keys : |
2931 ${{ runner.os }}-gems-
32+
3033 - name : Install dependencies
3134 run : |
35+ sudo apt-get update
36+ sudo apt-get install -y imagemagick
3237 gem update --system
3338 gem install bundler
3439 bundle install --jobs 4 --retry 3
3540 npm install -g mermaid.cli
41+
3642 - name : Setup deploy options
3743 id : setup
3844 run : |
4551 echo "::set-output name=SRC_BRANCH::${GITHUB_REF#refs/heads/}"
4652 fi
4753 echo "::set-output name=DEPLOY_BRANCH::gh-pages"
54+
4855 - name : Deploy website
4956 run : yes | bin/deploy --verbose ${{ steps.setup.outputs.NO_PUSH }}
5057 --src ${{ steps.setup.outputs.SRC_BRANCH }}
51- --deploy ${{ steps.setup.outputs.DEPLOY_BRANCH }}
58+ --deploy ${{ steps.setup.outputs.DEPLOY_BRANCH }}
You can’t perform that action at this time.
0 commit comments