Compare commits

...
Sign in to create a new pull request.

69 commits
develop ... dev

Author SHA1 Message Date
harid
dc1fc4c55a Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 46s
2026-07-02 13:31:17 +07:00
harid
5a46fef641 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 54s
2026-07-02 11:36:10 +07:00
harid
3987f24ec5 Merge branch 'develop-Br!ght' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 49s
2026-07-02 09:42:35 +07:00
harid
564a9a8a8d Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 47s
2026-07-01 18:16:04 +07:00
harid
f73753742c Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 50s
2026-06-30 17:34:03 +07:00
harid
697d307364 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 48s
2026-06-25 15:37:06 +07:00
harid
37601e2e18 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 56s
2026-06-10 12:24:51 +07:00
harid
a226f1623d Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 43s
2026-06-09 18:21:17 +07:00
harid
8cde71829c Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 47s
2026-06-09 13:31:38 +07:00
harid
8d7bc9c9b7 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 48s
2026-06-09 10:35:52 +07:00
harid
c507d7be06 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 45s
2026-06-08 17:18:00 +07:00
harid
71dd411dc6 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 50s
2026-06-08 15:17:21 +07:00
harid
2f8effe7e4 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 49s
2026-05-12 16:25:05 +07:00
harid
f1fc324828 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 51s
2026-05-01 14:22:32 +07:00
harid
208ad63abf Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m7s
2026-04-28 10:02:43 +07:00
harid
c4a6b6d1df Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m5s
2026-03-31 15:34:09 +07:00
harid
06b62df43a Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m5s
2026-03-24 15:45:13 +07:00
Suphonchai Phoonsawat
0908d6083d Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m6s
2026-03-19 10:42:59 +07:00
harid
fcc1018f80 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s
2026-03-12 11:14:55 +07:00
harid
41dd23217c Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m3s
2026-03-10 13:18:54 +07:00
harid
f708aec51a build tag
All checks were successful
Build & Deploy on Dev / build (push) Successful in 47s
2026-03-05 14:10:56 +07:00
harid
1556479de2 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 56s
2026-03-02 14:54:04 +07:00
863e3d1c44 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 41s
* develop:
  fix permission
2026-02-27 23:01:09 +07:00
117170496a Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 46s
* develop:
  fix permission
2026-02-27 22:48:00 +07:00
2099cd52c9 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 57s
* develop:
  fix permission
2026-02-27 22:30:54 +07:00
harid
d3b839d58a Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 57s
2026-01-28 18:23:37 +07:00
da40eeadee Merge branch 'dev' of https://192.168.1.60/hrms-bangkok/hrms-api-exam into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 48s
* 'dev' of https://192.168.1.60/hrms-bangkok/hrms-api-exam:
2025-12-23 16:41:13 +07:00
cf04d96cd0 Merge branch 'develop' into dev
* develop:
  สมัครสอบเช็คเลขบัตรประชาชน + Status (ขั้นตอนกดส่งใบสมัคร) #2136
  สมัครสอบเช็คเลขบัตรประชาชน + Status #2136
  เก็บ log User บุคคลภายนอก
  call api check citizen
  test SystemName = "recruiting"
2025-12-23 16:41:09 +07:00
harid
e7c1b49712 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 37s
2025-12-18 16:19:20 +07:00
harid
6089ee4979 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 39s
2025-12-18 15:27:13 +07:00
harid
2187d9f3e6 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 38s
2025-12-17 16:11:45 +07:00
harid
c82b2a622d Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 41s
2025-12-17 14:35:42 +07:00
harid
b6037b2d92 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 38s
2025-12-17 10:43:00 +07:00
7e446bcc80 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 38s
* develop:
  fixed
2025-12-17 09:36:14 +07:00
60cc6fde85 Merge branch 'dev' of https://192.168.1.60/hrms-bangkok/hrms-api-exam into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 43s
* 'dev' of https://192.168.1.60/hrms-bangkok/hrms-api-exam:
2025-12-17 09:20:59 +07:00
1143e46ed0 Merge branch 'develop' into dev
* develop:
  no message
  remoce error
  รายงานดาวน์โหลดข้อมูลผู้สมัคร แก้ไขเลขอารบิก #2097
  Fix Bug #2088
  #2041
  User ต้องการให้สามารถ "ปิด" การดาวน์โหลดใบสมัครสอบได้ #2041
  เปลี่ยนข้อความสถานะสมัครสอบทาง email
  no message
  no message
  เปิดให้ดาวน์โหลดใบสมัคร รอบสอบที่มีการชำระเงิน
  no message
  fix สมัครสอบให้เช็ควันและเวลา
  fix
  ปรับระบบสรรหาสอบคัดเลือก (4)
  ปรับระบบสรรหาสอบคัดเลือก (3)
  migrate + ปรับระบบสรรหาสอบคัดเลือก (2)
  migrate + ปรับระบบสรรหาสอบคัดเลือก
2025-12-17 09:20:52 +07:00
harid
7e5e286ebf Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 46s
2025-12-08 09:34:57 +07:00
harid
59c9db4bf7 Merge branch 'develop' into dev
Some checks failed
Build & Deploy on Dev / build (push) Failing after 28s
2025-12-04 17:50:43 +07:00
harid
ba518de57e Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 46s
2025-12-03 11:24:42 +07:00
harid
a17caac44d Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 44s
2025-11-26 17:38:47 +07:00
harid
223d72830e Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 42s
2025-11-25 17:13:31 +07:00
harid
ad027ca8b8 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 45s
2025-11-24 17:40:43 +07:00
harid
4fe6433607 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 43s
2025-11-21 18:02:30 +07:00
harid
c0be72b81a Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 44s
2025-11-21 17:20:50 +07:00
harid
a3ce42bba7 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 41s
2025-11-20 16:04:21 +07:00
harid
33089d65ee Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 40s
2025-11-19 13:43:50 +07:00
harid
913674ec15 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 42s
2025-11-19 10:32:39 +07:00
harid
e8e4447599 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 36s
2025-11-18 17:31:10 +07:00
harid
cef699cef0 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 49s
2025-11-18 13:28:30 +07:00
19b96cf3f4 Merge branch 'dev' of https://192.168.1.60/hrms-bangkok/hrms-api-exam into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 38s
* 'dev' of https://192.168.1.60/hrms-bangkok/hrms-api-exam:
2025-11-07 09:35:35 +07:00
9ef85b8fd1 Merge branch 'develop' into dev
* develop:
  update payment
  fix #1934
2025-11-07 09:35:28 +07:00
harid
49f2e1bc4d Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 37s
2025-11-05 17:14:08 +07:00
aeee164ade Merge branch 'dev' of https://192.168.1.60/hrms-bangkok/hrms-api-exam into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 39s
* 'dev' of https://192.168.1.60/hrms-bangkok/hrms-api-exam:
2025-11-04 09:06:17 +07:00
f9e172b741 Merge branch 'develop' into dev
* develop:
  แก้ค้นหาชื่อเต็ม + นำเข้าแล้วลำดับสอบแถวสุดท้ายไม่อัพเดท (#5)
2025-11-04 09:06:12 +07:00
harid
0b0cb45077 Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 53s
2025-10-24 16:37:50 +07:00
c7024e02fc Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 52s
* develop:
  แก้แสดงปีงบเป็นพศ. issue #1873
  แก้ cal  api เยอะไป
  แก้ time out
  fix bug โอนคนไปบรรจุ (#4)
  migrate + ปรับสอบคัดเลือกผู้พิการ (#3)
2025-10-21 12:05:49 +07:00
e8970d370a Merge branch 'fix@remove-nuget-from-server-dotme' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 50s
* fix@remove-nuget-from-server-dotme:
  fix
2025-10-14 16:15:21 +07:00
43323269d1 Merge branch 'develop' into dev
Some checks failed
Build & Deploy on Dev / build (push) Failing after 27m52s
* develop:
  test บรรจุ พิการ
  raw query to EF query #1833 (#2)
  add noti
2025-10-14 11:22:55 +07:00
c77444c25d Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 37s
* develop:
  แก้ total
  #1459
2025-09-30 16:14:45 +07:00
fbe153b71a Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 57s
2025-09-22 10:06:28 +07:00
8db53a9422 fix
All checks were successful
Build & Deploy on Dev / build (push) Successful in 40s
2025-09-16 15:13:37 +07:00
51981d66e4 fix cicd
Some checks failed
Build & Deploy on Dev / build (push) Failing after 38s
2025-09-16 15:09:48 +07:00
0e8eb089ae fix
Some checks failed
Build & Deploy on Dev / build (push) Failing after 11s
2025-09-16 14:11:34 +07:00
019449be92 fix cicd
Some checks failed
Build & Deploy on Dev / build (push) Failing after 9s
2025-09-16 14:09:59 +07:00
a7e6995570 Merge branch 'develop' into dev 2025-09-16 14:05:56 +07:00
f83ca13cfc Update .forgejo/workflows/ci-cd.yml 2025-09-10 11:12:10 +07:00
DESKTOP-1R2VSQH\Lenovo ThinkPad E490
df98310995 fix(ci-cd) 2025-09-10 11:08:47 +07:00
40320d621a Update .forgejo/workflows/build.yml 2025-09-09 14:00:55 +07:00
a22edac8da .forgejo 2025-09-09 13:55:17 +07:00
3 changed files with 160 additions and 0 deletions

View file

@ -0,0 +1,49 @@
name: Build
# on:
# push:
# tags:
# - "v[0-9]+.[0-9]+.[0-9]+"
# - "v[0-9]+.[0-9]+.[0-9]+*"
# workflow_dispatch:
env:
REGISTRY: ${{ vars.CONTAINER_REGISTRY }}
REGISTRY_USERNAME: ${{ vars.CONTAINER_REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
CONTAINER_IMAGE_NAME: ${{ vars.CONTAINER_REGISTRY }}/${{ vars.CONTAINER_IMAGE_OWNER }}/${{ vars.CONTAINER_IMAGE_NAME }}
IMAGE_VERSION: build
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
config-inline: |
[registry."${{ env.REGISTRY }}"]
ca=["/etc/ssl/certs/ca-certificates.crt"]
- name: Tag Version
run: |
if [[ "${{ github.event_name }}" == "push" ]]; then
echo "IMAGE_VERSION=${{ github.ref_name }}" | sed 's/v//g' >> $GITHUB_ENV
else
echo "IMAGE_VERSION=${{ env.IMAGE_VERSION }}-${{ github.run_number }}" >> $GITHUB_ENV
fi
- name: Login in to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.REGISTRY_USERNAME }}
password: ${{ env.REGISTRY_PASSWORD }}
- name: Build and push docker image
uses: docker/build-push-action@v3
with:
platforms: linux/amd64
context: .
file: Dockerfile
tags: ${{ env.CONTAINER_IMAGE_NAME }}:latest,${{ env.CONTAINER_IMAGE_NAME }}:${{ env.IMAGE_VERSION }}
push: true

View file

@ -0,0 +1,82 @@
name: Build & Deploy on Dev
on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
workflow_dispatch:
env:
REGISTRY: ${{ vars.CONTAINER_REGISTRY }}
REGISTRY_USERNAME: ${{ vars.CONTAINER_REGISTRY_USERNAME }}
REGISTRY_PASSWORD: ${{ secrets.CONTAINER_REGISTRY_PASSWORD }}
CONTAINER_IMAGE_NAME: ${{ vars.CONTAINER_REGISTRY }}/${{ vars.CONTAINER_IMAGE_OWNER }}/${{ vars.CONTAINER_IMAGE_NAME }}
IMAGE_VERSION: latest
DISCORD_WEBHOOK: ${{ vars.DISCORD_WEBHOOK }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
config-inline: |
[registry."${{ env.REGISTRY }}"]
ca=["/etc/ssl/certs/ca-certificates.crt"]
- name: Tag Version
run: |
if [ "${{ github.ref_type }}" == "tag" ]; then
echo "IMAGE_VERSION=${{ github.ref_name }}" >> $GITHUB_ENV
else
echo "IMAGE_VERSION=latest" >> $GITHUB_ENV
fi
- name: Login in to registry
uses: docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ env.REGISTRY_USERNAME }}
password: ${{ env.REGISTRY_PASSWORD }}
- name: Build and push docker image
uses: docker/build-push-action@v3
with:
platforms: linux/amd64
context: .
file: Dockerfile
tags: ${{ env.CONTAINER_IMAGE_NAME }}:latest,${{ env.CONTAINER_IMAGE_NAME }}:${{ env.IMAGE_VERSION }}
push: true
- name: Remote Deploy
uses: appleboy/ssh-action@v1.2.1
with:
host: ${{ vars.SSH_DEPLOY_HOST }}
port: ${{ vars.SSH_DEPLOY_PORT }}
username: ${{ secrets.SSH_DEPLOY_USER }}
password: ${{ secrets.SSH_DEPLOY_PASSWORD }}
script: |
cd ~/repo
./replace-env.sh API_EXAM "${{ env.IMAGE_VERSION }}"
./deploy.sh hrms-api-exam
- name: Discord Notification
if: always()
run: |
STATUS="${{ job.status == 'success' && '✅ Success' || '❌ Failed' }}"
COLOR="${{ job.status == 'success' && '3066993' || '15158332' }}"
TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%SZ)
curl -H "Content-Type: application/json" \
-X POST \
-d "{
\"embeds\": [{
\"title\": \"$STATUS\",
\"description\": \"**Build & Deploy**\\n- Image: \`${{ env.CONTAINER_IMAGE_NAME }}\`\\n- Version: \`${{ env.IMAGE_VERSION }}\`\\n- By: \`${{ github.actor }}\`\",
\"color\": $COLOR,
\"footer\": {
\"text\": \"Release Notification\",
\"icon_url\": \"https://example.com/success-icon.png\"
},
\"timestamp\": \"$TIMESTAMP\"
}]
}" \
${{ env.DISCORD_WEBHOOK }}

View file

@ -0,0 +1,29 @@
name: Build
on:
workflow_dispatch:
inputs:
version:
description: "Version to deploy"
type: string
required: false
default: "latest"
env:
IMAGE_VERSION: build
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Remote Deploy
uses: appleboy/ssh-action@v1.2.1
with:
host: ${{ vars.SSH_DEPLOY_HOST }}
port: ${{ vars.SSH_DEPLOY_PORT }}
username: ${{ secrets.SSH_DEPLOY_USER }}
password: ${{ secrets.SSH_DEPLOY_PASSWORD }}
script: |
cd ~/repo
./replace-env.sh API_EXAM "${{ inputs.version }}"
./deploy.sh hrms-api-exam