privacyguides.org/.github/actions/build/action.yml
2021-05-01 19:27:18 -05:00

14 lines
372 B
YAML

name: 'Build'
description: 'Builds Jekyll Site'
runs:
using: "composite"
steps:
- shell: bash
run: npm install
- shell: bash
run: |
sed -i "s/^ date:.*$/ date: $(TZ=UTC date "+%Y-%m-%d")/" _config.yml
sed -i "s/^ time:.*$/ time: $(TZ=UTC date "+%H:%M:%S %Z")/" _config.yml
- shell: bash
run: npm run build