feat: prepare federated Gitea actions workflow
This commit is contained in:
+3
-5
@@ -4,8 +4,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
paths:
|
- main
|
||||||
- 'privat/CV/andreknie.de/**'
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@@ -16,7 +15,6 @@ jobs:
|
|||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Install & Build Frontend
|
- name: Install & Build Frontend
|
||||||
working-directory: privat/CV/andreknie.de
|
|
||||||
run: |
|
run: |
|
||||||
npm ci
|
npm ci
|
||||||
npm run build
|
npm run build
|
||||||
@@ -27,8 +25,8 @@ jobs:
|
|||||||
host: ${{ secrets.DEPLOY_SSH_HOST }}
|
host: ${{ secrets.DEPLOY_SSH_HOST }}
|
||||||
username: ${{ secrets.DEPLOY_SSH_USER }}
|
username: ${{ secrets.DEPLOY_SSH_USER }}
|
||||||
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
key: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||||
source: "privat/CV/andreknie.de/*"
|
source: "*"
|
||||||
target: "/opt/orchestrator"
|
target: "/opt/orchestrator/privat/CV/andreknie.de"
|
||||||
|
|
||||||
- name: Execute Deployment on VM
|
- name: Execute Deployment on VM
|
||||||
uses: appleboy/ssh-action@v1.0.3
|
uses: appleboy/ssh-action@v1.0.3
|
||||||
Reference in New Issue
Block a user