All checks were successful
blog.neet.works deployment / deploy_mamizou (push) Successful in 1s
22 lines
458 B
YAML
22 lines
458 B
YAML
name: blog.neet.works deployment
|
|
#on:
|
|
# push:
|
|
# paths:
|
|
# - 'public/**' # Trigger the workflow when files in the 'public' folder are updated
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
deploy_mamizou:
|
|
runs-on: mamizou
|
|
run-name: Deploy blog.neet.works on Mamizou
|
|
steps:
|
|
#evil
|
|
- run: |
|
|
ssh $USER@localhost -p 2244 "
|
|
cd /srv/http/blog.neet.works &&
|
|
pwd &&
|
|
git pull &&
|
|
git checkout
|
|
"
|