test local clone
Some checks failed
Build and Deploy Container / build_and_deploy (push) Failing after 0s
Some checks failed
Build and Deploy Container / build_and_deploy (push) Failing after 0s
This commit is contained in:
@@ -3,7 +3,7 @@ name: Build and Deploy Container
|
|||||||
env:
|
env:
|
||||||
TARGET_HOST: www.valtrix.systems
|
TARGET_HOST: www.valtrix.systems
|
||||||
TARGET_USER: traefik
|
TARGET_USER: traefik
|
||||||
APP_DIR: /home/traefik/app
|
APP_DIR: /home/traefik/valtrix-website
|
||||||
CONTAINER_NAME: valtrix-website
|
CONTAINER_NAME: valtrix-website
|
||||||
QUADLET_FILE: valtrix-website.container
|
QUADLET_FILE: valtrix-website.container
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
@@ -19,8 +19,12 @@ jobs:
|
|||||||
build_and_deploy:
|
build_and_deploy:
|
||||||
runs-on: linux
|
runs-on: linux
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout repository from local Gitea
|
||||||
uses: actions/checkout@v4
|
run: |
|
||||||
|
git clone http://gitea:3000/${{ gitea.repository }} .
|
||||||
|
git checkout $GITEA_REF_NAME
|
||||||
|
# - name: Checkout Repository
|
||||||
|
# uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Copy code to target host
|
- name: Copy code to target host
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user