mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-05 01:26:37 +08:00
同步本地和远程:删除无用文件
This commit is contained in:
@@ -58,17 +58,25 @@ jobs:
|
|||||||
java:
|
java:
|
||||||
- 'springboot-backend/**'
|
- 'springboot-backend/**'
|
||||||
|
|
||||||
- name: Set up JDK
|
- name: Set up JDK and Maven
|
||||||
if: steps.java-changes.outputs.java == 'true'
|
if: steps.java-changes.outputs.java == 'true'
|
||||||
uses: actions/setup-java@v3
|
uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
|
|
||||||
|
- name: Cache Maven dependencies
|
||||||
|
if: steps.java-changes.outputs.java == 'true'
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ~/.m2
|
||||||
|
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||||
|
restore-keys: ${{ runner.os }}-m2
|
||||||
|
|
||||||
- name: Build Java JAR
|
- name: Build Java JAR
|
||||||
if: steps.java-changes.outputs.java == 'true'
|
if: steps.java-changes.outputs.java == 'true'
|
||||||
working-directory: ./springboot-backend
|
working-directory: ./springboot-backend
|
||||||
run: ./mvnw clean package -DskipTests
|
run: mvn clean package -DskipTests
|
||||||
|
|
||||||
- name: Build Java Docker image
|
- name: Build Java Docker image
|
||||||
if: steps.java-changes.outputs.java == 'true'
|
if: steps.java-changes.outputs.java == 'true'
|
||||||
|
|||||||
@@ -215,6 +215,10 @@ secrets.json
|
|||||||
*.p12
|
*.p12
|
||||||
*.pfx
|
*.pfx
|
||||||
|
|
||||||
|
# Go-gost 特定配置文件
|
||||||
|
go-gost/config.json
|
||||||
|
go-gost/gost.json
|
||||||
|
|
||||||
# ==========================================
|
# ==========================================
|
||||||
# 备份和临时文件
|
# 备份和临时文件
|
||||||
# ==========================================
|
# ==========================================
|
||||||
|
|||||||
@@ -60,12 +60,12 @@ http {
|
|||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
proxy_pass http://127.0.0.1:6365/api/v1/;
|
proxy_pass http://backend:6365/api/v1/;
|
||||||
}
|
}
|
||||||
|
|
||||||
# WebSocket代理 - system-info
|
# WebSocket代理 - system-info
|
||||||
location /system-info {
|
location /system-info {
|
||||||
proxy_pass http://127.0.0.1:6365/system-info;
|
proxy_pass http://backend:6365/system-info;
|
||||||
|
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_set_header Upgrade $http_upgrade;
|
proxy_set_header Upgrade $http_upgrade;
|
||||||
|
|||||||
Reference in New Issue
Block a user