new pipeline and build improvements
Some checks failed
Homepage Build and Deploy (Test) / Build Homepage Image (push) Successful in 32s
Homepage Build and Deploy (Test) / Deploy Homepage (push) Failing after 3s

This commit is contained in:
2026-07-10 17:06:16 -03:00
parent 9410d3a7c6
commit 72c7d6c9e0
14 changed files with 1969 additions and 190 deletions

View File

@@ -0,0 +1,22 @@
name: Homepage Deploy (Production)
on:
workflow_dispatch: {}
jobs:
deploy:
name: Deploy Homepage
runs-on: ubuntu-amd64
needs: build
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Recreate Container
uses: https://git.ivanch.me/ivanch/pipeline-actions/ssh-deploy@main
with:
ssh_host: ${{ secrets.HOST }}
ssh_username: ${{ secrets.USERNAME }}
ssh_key: ${{ secrets.KEY }}
ssh_port: ${{ secrets.PORT }}
remote_dir: ${{ secrets.DIR }}

View File

@@ -1,4 +1,4 @@
name: Homepage Build and Deploy
name: Homepage Build and Deploy (Test)
on:
push:
@@ -41,4 +41,4 @@ jobs:
ssh_username: ${{ secrets.USERNAME }}
ssh_key: ${{ secrets.KEY }}
ssh_port: ${{ secrets.PORT }}
remote_dir: ${{ secrets.DIR }}
remote_dir: ${{ secrets.TEST_DIR }}