Skip to content

Commit 5c701c2

Browse files
committed
2 parents 709ccf7 + e531084 commit 5c701c2

File tree

5 files changed

+79
-33
lines changed

5 files changed

+79
-33
lines changed

.github/workflows/ci-sonar-angular.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
fetch-depth: 0 # Sonar cần full history để tính blame
3232

3333
- name: Set up JDK (for Sonar scanner)
34-
uses: actions/setup-java@v4
34+
uses: actions/setup-java@v5
3535
with:
3636
distribution: temurin
3737
java-version: "21"
3838

3939
- name: Set up Node
40-
uses: actions/setup-node@v4
40+
uses: actions/setup-node@v5
4141
with:
4242
node-version: ${{ env.NODE_VERSION }}
4343
cache: "npm"

.github/workflows/deploy-frontend.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
cp -v ops/deploy-frontend.sh deploy_bundle/deploy-frontend.sh
130130
131131
- name: Ensure remote dir exists
132-
uses: appleboy/ssh-action@v1.0.3
132+
uses: appleboy/ssh-action@v1.2.2
133133
with:
134134
host: ${{ secrets.SSH_HOST }}
135135
username: ${{ secrets.SSH_USER }}
@@ -139,7 +139,7 @@ jobs:
139139
mkdir -p '${{ steps.targetdir.outputs.DEPLOY_DIR_FINAL }}'
140140
141141
- name: Upload bundle to server
142-
uses: appleboy/scp-action@v0.1.7
142+
uses: appleboy/scp-action@v1.0.0
143143
with:
144144
host: ${{ secrets.SSH_HOST }}
145145
username: ${{ secrets.SSH_USER }}
@@ -151,7 +151,7 @@ jobs:
151151
strip_components: 1
152152

153153
- name: Verify .env identical & run deploy
154-
uses: appleboy/ssh-action@v1.0.3
154+
uses: appleboy/ssh-action@v1.2.2
155155
env:
156156
IMAGE_TAG: ${{ env.IMAGE_TAG }}
157157
ENV_SHA: ${{ env.ENV_SHA }}

docker/angular-frontend.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ RUN npm run build -- --configuration=production
1616
RUN test -f dist/codecampus/browser/index.html
1717

1818
# ====== Runtime stage ======
19-
FROM nginx:1.27-alpine
19+
FROM nginx:1.29-alpine
2020

2121
# file Nginx phục vụ SPA & fallback
2222
COPY docker/nginx.conf /etc/nginx/conf.d/default.conf

package-lock.json

Lines changed: 71 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"private": true,
1212
"dependencies": {
1313
"@angular-devkit/core": "20.2.1",
14-
"@angular-devkit/schematics": "20.2.1",
14+
"@angular-devkit/schematics": "20.3.1",
1515
"@angular/animations": "20.2.3",
1616
"@angular/common": "20.2.3",
1717
"@angular/compiler": "20.2.3",
@@ -43,7 +43,7 @@
4343
"date-fns": "^4.1.0",
4444
"github-markdown-css": "^5.8.1",
4545
"highlight.js": "^11.11.1",
46-
"hls.js": "^1.6.10",
46+
"hls.js": "^1.6.12",
4747
"marked": "^16.2.1",
4848
"ng-apexcharts": "^1.11.0",
4949
"ngx-cookie-service": "^20.1.0",

0 commit comments

Comments
 (0)