Skip to content

Commit 71ab727

Browse files
authored
regular updates 1.4.10 (#124)
1 parent a907049 commit 71ab727

File tree

4 files changed

+1494
-2619
lines changed

4 files changed

+1494
-2619
lines changed

.github/workflows/github-action.yaml

+11-3
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
docker_build_and_push:
4646
name: Docker build and push
4747
needs: [lint, test]
48-
runs-on: ubuntu-latest
48+
runs-on: ubuntu-24.04-arm
4949
steps:
5050
- name: Checkout
5151
uses: actions/checkout@v4
@@ -85,18 +85,26 @@ jobs:
8585
cache-from: type=gha
8686
cache-to: type=gha,mode=max
8787
push: true
88+
providence: false # Disable image index metadata
8889

8990
redeploy_dev_service:
9091
name: Redeploy Dev Service
9192
needs: docker_build_and_push
9293
runs-on: ubuntu-latest
9394
steps:
9495
- name: Redeploy Dev Service
95-
run: curl -X POST ${{ secrets.PORTAINER_DEV_SERVICE_WEBHOOK }}
96+
run: |
97+
RESPONSE=$(curl -s -o response.txt -w "%{http_code}" -X POST ${{ secrets.PORTAINER_DEV_SERVICE_WEBHOOK }})
98+
if [ "$RESPONSE" -ne 204 ]; then
99+
echo "❌ Deployment failed! HTTP Response: $RESPONSE"
100+
cat response.txt # 오류 메시지 출력 (필요 시)
101+
exit 1
102+
fi
103+
echo "✅ Deployment successful! HTTP Response: $RESPONSE"
96104
97105
deploy_health_check:
98106
name: Check Application Status
99-
needs: docker_build_and_push
107+
needs: redeploy_dev_service
100108
runs-on: ubuntu-latest
101109
steps:
102110
- name: Check the deployed service URL

.pre-commit-config.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
repos:
22
- repo: local
33
hooks:
4-
- id: npm-run-lint
5-
name: Run ESLint
6-
entry: npm run lint
7-
language: system
8-
types: [javascript, ts]
94
- id: npm-run-format
105
name: Run Prettier
116
entry: npm run format
127
language: system
13-
types: [javascript, ts]
8+
types: [javascript, ts, yaml]
9+
- id: npm-run-lint
10+
name: Run ESLint
11+
entry: npm run lint
12+
language: system
13+
types: [javascript, ts, yaml]

0 commit comments

Comments
 (0)