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