feat: prepare federated Gitea actions workflow
This commit is contained in:
+3
-5
@@ -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
|
||||
Reference in New Issue
Block a user