diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 2284bae..caa7fab 100755 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -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: | diff --git a/resource/act_runner.sh b/resources/act_runner.sh similarity index 100% rename from resource/act_runner.sh rename to resources/act_runner.sh diff --git a/resource/build.sh b/resources/build.sh similarity index 100% rename from resource/build.sh rename to resources/build.sh diff --git a/resource/deploy.sh b/resources/deploy.sh similarity index 93% rename from resource/deploy.sh rename to resources/deploy.sh index b6498d2..5d69d81 100755 --- a/resource/deploy.sh +++ b/resources/deploy.sh @@ -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 <