correct path.
All checks were successful
Deploy / PullDocker (push) Successful in 6s
Deploy / Build (push) Successful in 4m28s
Deploy Docker Images / Docusaurus build and Server deploy (push) Successful in 2m0s

This commit is contained in:
luocai 2024-11-01 10:48:50 +08:00
parent 949f84718b
commit 2fbd898f1d
6 changed files with 3 additions and 3 deletions

View File

@ -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: |

View File

@ -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