Skip to content

Commit

Permalink
regular updates 1.4.10 (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueHorn07 authored Feb 1, 2025
1 parent a907049 commit 71ab727
Show file tree
Hide file tree
Showing 4 changed files with 1,494 additions and 2,619 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/github-action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
docker_build_and_push:
name: Docker build and push
needs: [lint, test]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -85,18 +85,26 @@ jobs:
cache-from: type=gha
cache-to: type=gha,mode=max
push: true
providence: false # Disable image index metadata

redeploy_dev_service:
name: Redeploy Dev Service
needs: docker_build_and_push
runs-on: ubuntu-latest
steps:
- name: Redeploy Dev Service
run: curl -X POST ${{ secrets.PORTAINER_DEV_SERVICE_WEBHOOK }}
run: |
RESPONSE=$(curl -s -o response.txt -w "%{http_code}" -X POST ${{ secrets.PORTAINER_DEV_SERVICE_WEBHOOK }})
if [ "$RESPONSE" -ne 204 ]; then
echo "❌ Deployment failed! HTTP Response: $RESPONSE"
cat response.txt # 오류 메시지 출력 (필요 시)
exit 1
fi
echo "✅ Deployment successful! HTTP Response: $RESPONSE"
deploy_health_check:
name: Check Application Status
needs: docker_build_and_push
needs: redeploy_dev_service
runs-on: ubuntu-latest
steps:
- name: Check the deployed service URL
Expand Down
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
repos:
- repo: local
hooks:
- id: npm-run-lint
name: Run ESLint
entry: npm run lint
language: system
types: [javascript, ts]
- id: npm-run-format
name: Run Prettier
entry: npm run format
language: system
types: [javascript, ts]
types: [javascript, ts, yaml]
- id: npm-run-lint
name: Run ESLint
entry: npm run lint
language: system
types: [javascript, ts, yaml]
Loading

0 comments on commit 71ab727

Please sign in to comment.