mirror of
https://github.com/privacyguides/privacyguides.org.git
synced 2025-07-30 07:11:08 +00:00
Create GitHub Action
This commit is contained in:
13
.github/actions/build/action.yml
vendored
Normal file
13
.github/actions/build/action.yml
vendored
Normal 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
|
Reference in New Issue
Block a user