diff --git a/.gitea/workflows/andreknie-de-deploy.yml b/privat/CV/andreknie.de/.gitea/workflows/deploy.yml similarity index 90% rename from .gitea/workflows/andreknie-de-deploy.yml rename to privat/CV/andreknie.de/.gitea/workflows/deploy.yml index 076ae5f..0548c13 100644 --- a/.gitea/workflows/andreknie-de-deploy.yml +++ b/privat/CV/andreknie.de/.gitea/workflows/deploy.yml @@ -4,8 +4,7 @@ on: push: branches: - master - paths: - - 'privat/CV/andreknie.de/**' + - main workflow_dispatch: jobs: @@ -16,7 +15,6 @@ jobs: uses: actions/checkout@v3 - name: Install & Build Frontend - working-directory: privat/CV/andreknie.de run: | npm ci npm run build @@ -27,8 +25,8 @@ jobs: host: ${{ secrets.DEPLOY_SSH_HOST }} username: ${{ secrets.DEPLOY_SSH_USER }} key: ${{ secrets.DEPLOY_SSH_KEY }} - source: "privat/CV/andreknie.de/*" - target: "/opt/orchestrator" + source: "*" + target: "/opt/orchestrator/privat/CV/andreknie.de" - name: Execute Deployment on VM uses: appleboy/ssh-action@v1.0.3