added deply scipt
This commit is contained in:
parent
c5c850e83d
commit
cc7488a190
2 changed files with 9 additions and 1 deletions
8
deploy
Normal file
8
deploy
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
#!bin/bash
|
||||||
|
|
||||||
|
# Copy the docs and assets directories onto the server
|
||||||
|
cp -r docs /srv/http
|
||||||
|
cp -r assets /srv/http
|
||||||
|
|
||||||
|
# Update the header css GET parameter
|
||||||
|
sed -i "s/TIMESTAMP/"$(date +%s)"/g" /srv/http/docs/common/header.php
|
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<link rel="stylesheet" href="https://assets.zdenekborovec.cz/common/styles.css?2023-12-19T18-25">
|
<link rel="stylesheet" href="https://assets.zdenekborovec.cz/common/styles.css?TIMESTAMP">
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
#header {
|
#header {
|
||||||
|
|
Loading…
Reference in a new issue