-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.probo.yaml
30 lines (30 loc) · 972 Bytes
/
.probo.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
image: proboci/ubuntu:18.04-php7.4
steps:
- name: Update system
plugin: Script
script:
- wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | apt-key add -
- gem uninstall bundler
- apt-get -y update
- name: Install Imagemagick
plugin: Script
script:
- apt-get install -y software-properties-common imagemagick
- apt-add-repository -y ppa:brightbox/ruby-ng
- apt-get -y update
- name: Install Ruby 2.7.1
plugin: Script
script:
- apt-get install -y ruby2.7 ruby2.7-dev
- update-alternatives --config ruby
- gem install bundler -v 2.1.4
- name: Install Jekyll Dependencies
plugin: Script
script:
- cd $SRC_DIR
- bundle install --path vendor/bundle
- name: Build Jekyll site
plugin: Script
script:
- locale-gen en_US.UTF-8
- LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 bundle exec jekyll build --destination=/var/www/html