From d3e1041f8e987bbf775c600599b54cc34924b37d Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 20:55:49 +0200 Subject: [PATCH 01/13] Add .gitea/workflows/test.yaml --- .gitea/workflows/test.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml new file mode 100644 index 00000000..af252cf1 --- /dev/null +++ b/.gitea/workflows/test.yaml @@ -0,0 +1,9 @@ +name: Guaranteed Test +on: [push] + +jobs: + always-success: + runs-on: shell + steps: + - name: System Check + run: echo "Gitea Actions connection is 100% successful!" \ No newline at end of file From be4879e54c5309f08564c780be4585518a17cb49 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:03:43 +0200 Subject: [PATCH 02/13] Delete .gitea/workflows/test.yaml --- .gitea/workflows/test.yaml | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 .gitea/workflows/test.yaml diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml deleted file mode 100644 index af252cf1..00000000 --- a/.gitea/workflows/test.yaml +++ /dev/null @@ -1,9 +0,0 @@ -name: Guaranteed Test -on: [push] - -jobs: - always-success: - runs-on: shell - steps: - - name: System Check - run: echo "Gitea Actions connection is 100% successful!" \ No newline at end of file From e84547a7004222ffe87d765e81033d9059e335e3 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:04:10 +0200 Subject: [PATCH 03/13] Add .gitea/workflows/deploy.yaml --- .gitea/workflows/deploy.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .gitea/workflows/deploy.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 00000000..31248ae8 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,17 @@ +name: Deploy Atom Next +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: epic-web-runner + steps: + - name: Checkout Code + uses: actions/checkout@v4 + + - name: Sync Files to Atom Next + run: | + echo "Deploying files directly to /var/www/atom-next/..." + rsync -avz --delete --exclude='.gitea/' --exclude='.git/' ./ /var/www/atom-next/ \ No newline at end of file From 1f2d47b9bb69eeb0de2c4994ad3925741e4a84ac Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:05:28 +0200 Subject: [PATCH 04/13] Update .gitea/workflows/deploy.yaml --- .gitea/workflows/deploy.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 31248ae8..c207edd7 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -6,7 +6,7 @@ on: jobs: deploy: - runs-on: epic-web-runner + runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v4 From c8b89803aa92be5535ab4c6c498db43390fcad68 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:06:50 +0200 Subject: [PATCH 05/13] Add .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/ .gitea/workflows/deploy.yml b/ .gitea/workflows/deploy.yml new file mode 100644 index 00000000..59e1e93b --- /dev/null +++ b/ .gitea/workflows/deploy.yml @@ -0,0 +1,34 @@ +name: Remote Build and Deploy + +on: + push: + branches: + +main, + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + +name: Checkout Repository + uses: actions/checkout@v4, + + +name: Execute Remote SSH Commands to Build and Deploy + uses: appleboy/ssh-action@v1.0.3 + with: + host: ${{ secrets.SSH_HOST }} + username: ${{ secrets.SSH_USER }} + key: ${{ secrets.SSH_PRIVATE_KEY }} + port: ${{ secrets.SSH_PORT }} + script: | + echo "--- Starting Deployment Pipeline ---" + # 1. Navigate to your project folder on the VPS + cd /var/www/my-project + # 2. Sync the VPS local code with your Gitea repository + git fetch --all + git reset --hard origin/main + # 3. Build & Restart Commands (Uncomment or adapt to your stack)# Node.js example:# npm install --production# npm run build# pm2 restart my-app + # Docker example:# docker compose down# docker compose up -d --build + echo "--- Deployment Completed Successfully ---" \ No newline at end of file From b0c1f7a34aa246742340cb03241de77a1114bd81 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:07:29 +0200 Subject: [PATCH 06/13] Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ .gitea/workflows/deploy.yml b/ .gitea/workflows/deploy.yml index 59e1e93b..39e14671 100644 --- a/ .gitea/workflows/deploy.yml +++ b/ .gitea/workflows/deploy.yml @@ -25,7 +25,7 @@ name: Execute Remote SSH Commands to Build and Deploy script: | echo "--- Starting Deployment Pipeline ---" # 1. Navigate to your project folder on the VPS - cd /var/www/my-project + cd /var/www/atom-nexst/ # 2. Sync the VPS local code with your Gitea repository git fetch --all git reset --hard origin/main From 4f4044992b19f1ef710af49ac6a3bd1437184037 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:08:57 +0200 Subject: [PATCH 07/13] Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) diff --git a/ .gitea/workflows/deploy.yml b/ .gitea/workflows/deploy.yml index 39e14671..a843fe0b 100644 --- a/ .gitea/workflows/deploy.yml +++ b/ .gitea/workflows/deploy.yml @@ -1,34 +1,26 @@ name: Remote Build and Deploy - on: push: branches: - -main, + - main jobs: deploy: - runs-on: ubuntu-latest + runs-on: shell steps: - -name: Checkout Repository - uses: actions/checkout@v4, - - -name: Execute Remote SSH Commands to Build and Deploy - uses: appleboy/ssh-action@v1.0.3 - with: - host: ${{ secrets.SSH_HOST }} - username: ${{ secrets.SSH_USER }} - key: ${{ secrets.SSH_PRIVATE_KEY }} - port: ${{ secrets.SSH_PORT }} - script: | + - name: Execute Build and Deploy Commands + run: | echo "--- Starting Deployment Pipeline ---" + # 1. Navigate to your project folder on the VPS - cd /var/www/atom-nexst/ + cd /var/www/atom-next/ + # 2. Sync the VPS local code with your Gitea repository git fetch --all git reset --hard origin/main - # 3. Build & Restart Commands (Uncomment or adapt to your stack)# Node.js example:# npm install --production# npm run build# pm2 restart my-app - # Docker example:# docker compose down# docker compose up -d --build + + # 3. Build & Restart Commands (Uncomment or adapt to your stack if needed) + # npm install --production + # npm run build + echo "--- Deployment Completed Successfully ---" \ No newline at end of file From db2e8d80c341ae14cc0bec76cb26867adab4e14d Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:09:57 +0200 Subject: [PATCH 08/13] Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/ .gitea/workflows/deploy.yml b/ .gitea/workflows/deploy.yml index a843fe0b..a2bbbfd6 100644 --- a/ .gitea/workflows/deploy.yml +++ b/ .gitea/workflows/deploy.yml @@ -6,21 +6,12 @@ on: jobs: deploy: - runs-on: shell + runs-on: host steps: - name: Execute Build and Deploy Commands run: | echo "--- Starting Deployment Pipeline ---" - - # 1. Navigate to your project folder on the VPS cd /var/www/atom-next/ - - # 2. Sync the VPS local code with your Gitea repository git fetch --all git reset --hard origin/main - - # 3. Build & Restart Commands (Uncomment or adapt to your stack if needed) - # npm install --production - # npm run build - echo "--- Deployment Completed Successfully ---" \ No newline at end of file From f95ba94bcfecfccbb1a0358a2af76adf1e548280 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:10:45 +0200 Subject: [PATCH 09/13] Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ .gitea/workflows/deploy.yml b/ .gitea/workflows/deploy.yml index a2bbbfd6..2d36d1fb 100644 --- a/ .gitea/workflows/deploy.yml +++ b/ .gitea/workflows/deploy.yml @@ -6,12 +6,20 @@ on: jobs: deploy: - runs-on: host + runs-on: + - self-hosted + - linux + - shell steps: - name: Execute Build and Deploy Commands run: | echo "--- Starting Deployment Pipeline ---" + + # 1. Navigate to your project folder on the VPS cd /var/www/atom-next/ + + # 2. Sync the VPS local code with your Gitea repository git fetch --all git reset --hard origin/main + echo "--- Deployment Completed Successfully ---" \ No newline at end of file From 038232655acea46c08e530ef444d77370801e0a7 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:13:52 +0200 Subject: [PATCH 10/13] Delete directory '.gitea/workflows' --- .gitea/workflows/deploy.yaml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .gitea/workflows/deploy.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml deleted file mode 100644 index c207edd7..00000000 --- a/.gitea/workflows/deploy.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: Deploy Atom Next -on: - push: - branches: - - main - -jobs: - deploy: - runs-on: ubuntu-latest - steps: - - name: Checkout Code - uses: actions/checkout@v4 - - - name: Sync Files to Atom Next - run: | - echo "Deploying files directly to /var/www/atom-next/..." - rsync -avz --delete --exclude='.gitea/' --exclude='.git/' ./ /var/www/atom-next/ \ No newline at end of file From 788d0b0e0938a791e02249d2145179f59c42e74d Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:14:12 +0200 Subject: [PATCH 11/13] Update .gitea/workflows/deploy.yml --- .gitea/workflows/deploy.yml | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/ .gitea/workflows/deploy.yml b/ .gitea/workflows/deploy.yml index 2d36d1fb..593c61f4 100644 --- a/ .gitea/workflows/deploy.yml +++ b/ .gitea/workflows/deploy.yml @@ -6,20 +6,21 @@ on: jobs: deploy: - runs-on: - - self-hosted - - linux - - shell + runs-on: ubuntu-22.04 steps: - - name: Execute Build and Deploy Commands - run: | - echo "--- Starting Deployment Pipeline ---" - - # 1. Navigate to your project folder on the VPS - cd /var/www/atom-next/ - - # 2. Sync the VPS local code with your Gitea repository - git fetch --all - git reset --hard origin/main - - echo "--- Deployment Completed Successfully ---" \ No newline at end of file + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Execute Deployment via SSH + uses: appleboy/ssh-action@v1.0.3 + with: + host: ${{ secrets.SSH_HOST }} + username: ${{ secrets.SSH_USER }} + key: ${{ secrets.SSH_PRIVATE_KEY }} + port: ${{ secrets.SSH_PORT }} + script: | + echo "--- Starting EPIC WEB CONTROL Deployment ---" + cd /var/www/atom-next/ + git fetch --all + git reset --hard origin/main + echo "--- Deployment Completed Successfully ---" \ No newline at end of file From 03135fb7c1e8f379af349098b44d0af4845974d9 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:15:28 +0200 Subject: [PATCH 12/13] Delete directory ' .gitea/workflows' --- .gitea/workflows/deploy.yml | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 .gitea/workflows/deploy.yml diff --git a/ .gitea/workflows/deploy.yml b/ .gitea/workflows/deploy.yml deleted file mode 100644 index 593c61f4..00000000 --- a/ .gitea/workflows/deploy.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: Remote Build and Deploy -on: - push: - branches: - - main - -jobs: - deploy: - runs-on: ubuntu-22.04 - steps: - - name: Checkout Repository - uses: actions/checkout@v4 - - - name: Execute Deployment via SSH - uses: appleboy/ssh-action@v1.0.3 - with: - host: ${{ secrets.SSH_HOST }} - username: ${{ secrets.SSH_USER }} - key: ${{ secrets.SSH_PRIVATE_KEY }} - port: ${{ secrets.SSH_PORT }} - script: | - echo "--- Starting EPIC WEB CONTROL Deployment ---" - cd /var/www/atom-next/ - git fetch --all - git reset --hard origin/main - echo "--- Deployment Completed Successfully ---" \ No newline at end of file From 033011fd38f9b102253cf3382fd70e76aaf88460 Mon Sep 17 00:00:00 2001 From: Remco <1+remco@noreply.gitlabi@epicnabbo.nl> Date: Sat, 11 Jul 2026 21:16:04 +0200 Subject: [PATCH 13/13] Add .gitea/workflows/deploy.yaml --- .gitea/workflows/deploy.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .gitea/workflows/deploy.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 00000000..2cd1f2c0 --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,31 @@ +name: Remote Build and Deploy +on: + push: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-22.04 + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Execute Remote SSH Commands to Build and Deploy + uses: appleboy/ssh-action@v1.0.3 + with: + host: ${{ secrets.SSH_HOST }} + username: ${{ secrets.SSH_USER }} + key: ${{ secrets.SSH_PRIVATE_KEY }} + port: ${{ secrets.SSH_PORT }} + script: | + echo "--- Starting Deployment Pipeline ---" + + # 1. Navigeer naar de juiste map op de VPS + cd /var/www/atom-next/ + + # 2. Synchroniseer de lokale code met Gitea + git fetch --all + git reset --hard origin/main + + echo "--- Deployment Completed Successfully ---" \ No newline at end of file