Skip to content

Commit 28d89f8

Browse files
committed
update pre-commit
1 parent bf00b47 commit 28d89f8

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/github-action.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- name: Redeploy Dev Service
9696
run: |
9797
RESPONSE=$(curl -s -o response.txt -w "%{http_code}" -X POST ${{ secrets.PORTAINER_DEV_SERVICE_WEBHOOK }})
98-
if [ "$RESPONSE" -ne 200 ]; then
98+
if [ "$RESPONSE" -ne 204 ]; then
9999
echo "❌ Deployment failed! HTTP Response: $RESPONSE"
100100
cat response.txt # 오류 메시지 출력 (필요 시)
101101
exit 1

.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)