Skip to content

Commit

Permalink
modified setup orchestrator
Browse files Browse the repository at this point in the history
  • Loading branch information
leoBitto committed Oct 6, 2024
1 parent 17060e0 commit 8ff76c3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/_setup_server.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Setup Server

on:
workflow_call:
workflow_call: # Definisci che il workflow può essere richiamato
inputs:
host:
description: "Host IP Address"
required: true
username:
description: "Username for SSH"
required: true
private_key:
description: "Privare key for SSH access"
required: true
host:
description: "Host IP Address"
required: true
username:
description: "Username for SSH"
required: true
private_key:
description: "Private key for SSH access"
required: true

jobs:
setup-server:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/server_setup _orchestrator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
runs-on: ubuntu-latest

steps:

# Step 0: Checkout the repository to access workflows
- name: Checkout Repository
uses: actions/checkout@v3

# Step 1: Setup the server (Docker, Nginx, etc.)
- name: Setup Server
uses: ./.github/workflows/_setup-server.yml
Expand Down

0 comments on commit 8ff76c3

Please sign in to comment.