skeleton build script to deploy to shockrah.xyz :D
This commit is contained in:
1 parent
7002f8ec26
commit
ff9ded02a2
2 files changed
+20
No files matched your search
@@ -0,0 +1,10 @@
|
||||
image: shockrah/website:latest
|
||||
|
||||
variables:
|
||||
SSH_PASS: $VPS_PASS
|
||||
|
||||
deploy:
|
||||
stage: build
|
||||
script:
|
||||
- bash ./build.sh
|
||||
- ls -R .mirror
|
||||
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
# First scaffold
|
||||
gensite -s
|
||||
# Second root pages/resources
|
||||
for f in pages/*.md; do gensite -r $f;done
|
||||
for f in root/*; do gensite -R $f ;done
|
||||
# Third the posts
|
||||
for post in posts/*.md; do gensite -p $f;done
|
||||
# Finally the notes
|
||||
for note in notes/*.md; do gensite -P $f;done
|
||||
Reference in new issue
Block a user