Compare commits
No commits in common. "e214a2aa31b9fdb6ad14b6355bea644a6d3706ad" and "51e542165bd30e12583b8d4b02fc9772ffed356b" have entirely different histories.
e214a2aa31
...
51e542165b
@ -1,31 +0,0 @@
|
||||
name: Personal Website - Run Python HTTP Server
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- actions
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: self-hosted
|
||||
|
||||
env:
|
||||
PORT: 8080
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
run: |
|
||||
cd ~/personal-site
|
||||
git checkout $GITEA_REF_NAME
|
||||
git pull origin $GITEA_REF_NAME
|
||||
|
||||
- name: Stop existing server, if running
|
||||
run: |
|
||||
pkill -f 'python3 -m http.server' || true
|
||||
|
||||
- name: Start server
|
||||
run: |
|
||||
cd ~/personal-site
|
||||
chmod +x ./start.sh
|
||||
sassc css/style.scss css/style.css
|
||||
exec python3 -m http.server $PORT > server.log 2>&1
|
Loading…
Reference in New Issue
Block a user