correct path.
This commit is contained in:
parent
949f84718b
commit
2fbd898f1d
@ -38,7 +38,7 @@ jobs:
|
||||
echo "提交ID: $(git rev-parse --short HEAD)">> notify.tpl
|
||||
echo -n "提交消息: ${{ github.event.head_commit.message }}">> notify.tpl
|
||||
cat notify.tpl | envsubst | jq -sR . | xargs -0 -I {} curl -H "Content-Type: application/json" -X POST -d '{"type":"text","msg":{} }' https://amass.fun/notify
|
||||
- run: resource/build.sh build
|
||||
- run: resources/build.sh build
|
||||
- name: Notify-End
|
||||
if: ${{ always() }}
|
||||
run: |
|
||||
|
@ -20,8 +20,8 @@ EOF
|
||||
function init() {
|
||||
echo "start deploy server"
|
||||
|
||||
scp -P $SERVER_PORT resource/openresty.service $USER@$SERVER_ADDRESS:/lib/systemd/system/openresty.service
|
||||
scp -P $SERVER_PORT resource/frps.service $USER@$SERVER_ADDRESS:/etc/systemd/system/frps.service
|
||||
scp -P $SERVER_PORT resources/openresty.service $USER@$SERVER_ADDRESS:/lib/systemd/system/openresty.service
|
||||
scp -P $SERVER_PORT resources/frps.service $USER@$SERVER_ADDRESS:/etc/systemd/system/frps.service
|
||||
|
||||
ssh $USER@$SERVER_ADDRESS -p $SERVER_PORT <<EOF
|
||||
if [ ! -d /root/Server ]; then
|
Loading…
Reference in New Issue
Block a user