mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2025-05-02 06:16:19 -04:00
Autofetch blog posts
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
fc566a0e8f
commit
0befdf3fe5
3 changed files with 12 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
#F-Droid Security Analysis
|
||||
echo "Fetching and Modifying the F-Droid Security Analysis post"
|
||||
rm -rf './content/apps/F-Droid Security Analysis.md'
|
||||
curl https://raw.githubusercontent.com/Wonderfall/wonderfall.github.io/main/content/posts/fdroid-issues.md -o './content/apps/F-Droid Security Analysis.md'
|
||||
sed -i 's/title:.*/title: "F-Droid Security Analysis"/' './content/apps/F-Droid Security Analysis.md'
|
||||
|
@ -11,7 +12,9 @@ sed -i '/^tags:.*/a ShowCanonicalLink: true' './content/apps/F-Droid Security An
|
|||
sed -i '/^tags:.*/a canonicalURL: https://wonderfall.dev/fdroid-issues' './content/apps/F-Droid Security Analysis.md'
|
||||
sed -i '/^tags:.*/a author: Wonderfall' './content/apps/F-Droid Security Analysis.md'
|
||||
|
||||
|
||||
#Docker and OCI Hardening
|
||||
echo "Fetching and Modifying the Docker and OCI Hardening post"
|
||||
rm -rf './content/os/Docker and OCI Hardening.md'
|
||||
curl https://raw.githubusercontent.com/Wonderfall/wonderfall.github.io/main/content/posts/docker-hardening.md -o './content/os/Docker and OCI Hardening.md'
|
||||
sed -i 's/title:.*/title: "Docker and OCI Hardening"/' './content/os/Docker and OCI Hardening.md'
|
||||
|
@ -23,6 +26,7 @@ sed -i '/^tags:.*/a canonicalURL: https://wonderfall.dev/docker-hardening/' './c
|
|||
sed -i '/^tags:.*/a author: Wonderfall' './content/os/Docker and OCI Hardening.md'
|
||||
|
||||
#Securing OpenSSH with FIDO2
|
||||
echo "Fetching and Modifying the OpenSSH with FIDO2 Hardening post"
|
||||
rm -rf './content/os/Securing OpenSSH with FIDO2.md'
|
||||
curl https://raw.githubusercontent.com/Wonderfall/wonderfall.github.io/main/content/posts/openssh-fido2.md -o './content/os/Securing OpenSSH with FIDO2.md'
|
||||
sed -i 's/title:.*/title: "Securing OpenSSH with FIDO2"/' './content/os/Securing OpenSSH with FIDO2.md'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue