This commit is contained in:
25
.gitea/workflows/build.yml
Normal file
25
.gitea/workflows/build.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
name: Gitea Auto Deploy
|
||||
run-name: ${{ gitea.actor }} pushed code 🚀
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Deploy-Container:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Check out latest code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Stop and remove old containers
|
||||
run: |
|
||||
docker compose down || true
|
||||
|
||||
- name: Remove unused Docker resources
|
||||
run: |
|
||||
docker system prune -a --volumes -f
|
||||
|
||||
- name: Build and restart containers
|
||||
run: |
|
||||
docker compose pull
|
||||
docker compose up -d --build
|
||||
@@ -1,17 +0,0 @@
|
||||
[
|
||||
{
|
||||
"name": "ap_s",
|
||||
"value": "rn4cia450qbv6u0qv8s6j4qp8ituj80m",
|
||||
"domain": "my.sepay.vn",
|
||||
"path": "/",
|
||||
"expires": 1761738980.12114,
|
||||
"size": 36,
|
||||
"httpOnly": true,
|
||||
"secure": false,
|
||||
"session": false,
|
||||
"sameSite": "Lax",
|
||||
"priority": "Medium",
|
||||
"sameParty": false,
|
||||
"sourceScheme": "Secure"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user