This commit is contained in:
parent
cae9cc2904
commit
cebb5be942
@ -7,12 +7,12 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: self-hosted
|
runs-on: pihq
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
run: |
|
run: |
|
||||||
cd ~/pdx-peculiarties
|
cd ~/apps/pdx-peculiarties
|
||||||
git fetch
|
git fetch
|
||||||
git checkout main
|
git checkout main
|
||||||
git pull origin main
|
git pull origin main
|
||||||
@ -26,6 +26,6 @@ jobs:
|
|||||||
|
|
||||||
- name: Start server in screen session
|
- name: Start server in screen session
|
||||||
run: |
|
run: |
|
||||||
cd ~/pdx-peculiarties
|
cd ~/apps/pdx-peculiarties
|
||||||
setsid screen -dmS pdx_peculiarties bash -c 'python3 -m http.server 8083 > server.log 2>&1'
|
setsid screen -dmS pdx_peculiarties bash -c 'python3 -m http.server 8083 > server.log 2>&1'
|
||||||
echo "Server started in detached screen session"
|
echo "Server started in detached screen session"
|
||||||
|
@ -9,9 +9,8 @@ const loadSection = (sectionName) => {
|
|||||||
.catch(error => console.error('Error loading JSON:', error));
|
.catch(error => console.error('Error loading JSON:', error));
|
||||||
}
|
}
|
||||||
|
|
||||||
function cap(str) {
|
const cap = (str) =>
|
||||||
return str.charAt(0).toUpperCase() + str.slice(1);
|
str.charAt(0).toUpperCase() + str.slice(1);
|
||||||
}
|
|
||||||
|
|
||||||
// Recursive function to handle strings, arrays, and objects
|
// Recursive function to handle strings, arrays, and objects
|
||||||
const renderItems = (items) => {
|
const renderItems = (items) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user