From f9c32c3e15cfc3ff8c64bbea22e08d89271bad8b Mon Sep 17 00:00:00 2001 From: Vadim Date: Sat, 7 Mar 2026 18:28:11 +0300 Subject: [PATCH] wip ci/cd --- .gitea/workflows/deploy.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 8d02180..43251a2 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -25,11 +25,20 @@ jobs: password: ${{ secrets.PASSWORD }} - name: Push Docker image run: | - IMAGE_TAG="git.madsky.ru/vadim/tracker:${{ gitea.sha }}" + IMAGE_TAG="git.madsky.ru/vadim/tracker:latest" docker tag git.madsky.ru/vadim/tracker $IMAGE_TAG docker push $IMAGE_TAG +# - name: Execute remote SSH commands using SSH key +# uses: appleboy/ssh-action@v1 +# with: +# host: ${{ secrets.HOST }} +# username: ${{ secrets.USERNAME }} +# key: ${{ secrets.KEY }} +# port: ${{ secrets.PORT }} +# script: whoami - name: List files in the repository run: | ls ${{ gitea.workspace }} + touch hello_world.log - name: Execute a single command run: echo "Hello, world!!" \ No newline at end of file