updating neocities script
This commit is contained in:
parent
0fca7fa015
commit
ea9d49d967
1 changed files with 7 additions and 4 deletions
|
|
@ -27,12 +27,14 @@ rm -rf public/
|
||||||
mkdir -p public/log
|
mkdir -p public/log
|
||||||
|
|
||||||
# Create index.html with redirect to https://ritual.sh
|
# Create index.html with redirect to https://ritual.sh
|
||||||
cat > public/index.html << 'EOF'
|
DEPLOY_TIMESTAMP=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
|
||||||
|
cat > public/index.html << EOF
|
||||||
|
<!-- deployed: $DEPLOY_TIMESTAMP -->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="refresh" content="0; url=https://ritual.sh">
|
<meta http-equiv="refresh" content="0; url=https://ritual.sh">
|
||||||
<title>Redirecting...</title>
|
<title>ritual.sh</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p>Redirecting to <a href="https://ritual.sh">ritual.sh</a>...</p>
|
<p>Redirecting to <a href="https://ritual.sh">ritual.sh</a>...</p>
|
||||||
|
|
@ -41,12 +43,13 @@ cat > public/index.html << 'EOF'
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Create log/index.html with redirect to https://ritual.sh/logs/
|
# Create log/index.html with redirect to https://ritual.sh/logs/
|
||||||
cat > public/log/index.html << 'EOF'
|
cat > public/log/index.html << EOF
|
||||||
|
<!-- deployed: $DEPLOY_TIMESTAMP -->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="refresh" content="0; url=https://ritual.sh/log/">
|
<meta http-equiv="refresh" content="0; url=https://ritual.sh/log/">
|
||||||
<title>Redirecting...</title>
|
<title>Updates to ritual.sh!</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p>Redirecting to <a href="https://ritual.sh/log/">ritual.sh/log/</a>...</p>
|
<p>Redirecting to <a href="https://ritual.sh/log/">ritual.sh/log/</a>...</p>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue