Skip to content

Update chapter09.md #148

Update chapter09.md

Update chapter09.md #148

Workflow file for this run

name: NodeJS with Gulp
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
restore-keys: |
${{ runner.os }}-gems-
- name: Install graphicsmagick
run: sudo apt install graphicsmagick # Seems to work and already be included with ubuntu-latest...
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Checkout πŸ›ŽοΈ
uses: actions/checkout@v2
- name: πŸ’Ž setup ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6 # can change this to 2.7 or whatever version you prefer
- name: Build sass and images
run: |
npm install
gulp builddeps
- name: πŸ”¨ install dependencies & build resources.realitymedia.digital site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
jekyll_src: .
gem_src: .
custom_opts: --config=_config.yml,_config-dev.yml
- name: πŸš€ deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs
clean-exclude: CNAME
- name: πŸ”¨ install dependencies & build resources.realitymedia.digital site
uses: limjh16/jekyll-action-ts@v2
with:
enable_cache: true
jekyll_src: .
gem_src: .
custom_opts: --config=_config.yml
- name: πŸš€ deploy
uses: JamesIves/[email protected]
with:
branch: realitymedia-pages
folder: docs
clean-exclude: CNAME