mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2024-12-26 15:59:39 -05:00
POSIX compliance
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
0e8925f20b
commit
c4c45818ee
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
#curl -L -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*extended.*linux-amd64.tar.gz" | cut -d : -f 2,3 | sed 's/"//g' | xargs wget
|
#curl -L -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "browser_download_url.*extended.*linux-amd64.tar.gz" | cut -d : -f 2,3 | sed 's/"//g' | xargs wget
|
||||||
|
|
||||||
@ -7,7 +7,7 @@ wget https://github.com/gohugoio/hugo/releases/download/v0.119.0/hugo_0.119.0_Li
|
|||||||
tar xvf ./*.tar.gz
|
tar xvf ./*.tar.gz
|
||||||
chmod u+x ./hugo
|
chmod u+x ./hugo
|
||||||
|
|
||||||
if [ "$CF_PAGES_BRANCH" == "main" ]; then
|
if [ "$CF_PAGES_BRANCH" = "main" ]; then
|
||||||
./hugo --minify
|
./hugo --minify
|
||||||
else
|
else
|
||||||
./hugo -b "$CF_PAGES_URL"
|
./hugo -b "$CF_PAGES_URL"
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/sh
|
||||||
|
|
||||||
#Docker and OCI Hardening
|
#Docker and OCI Hardening
|
||||||
echo "Fetching and Modifying the Docker and OCI Hardening post"
|
echo "Fetching and Modifying the Docker and OCI Hardening post"
|
||||||
|
Loading…
Reference in New Issue
Block a user