1
0
mirror of https://github.com/privacyguides/privacyguides.org.git synced 2025-07-29 23:01:09 +00:00

Create GitHub Action

This commit is contained in:
2021-05-01 16:24:18 -05:00
parent 61a8abbd15
commit 01995be1f4
7 changed files with 117 additions and 15 deletions

13
.github/actions/build/action.yml vendored Normal file
View File

@@ -0,0 +1,13 @@
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