fix: fix syntax
This commit is contained in:
10
action.yml
10
action.yml
@@ -2,10 +2,6 @@ name: Deploy Docker Compose via SSH
|
|||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ main ]
|
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
docker_compose_path:
|
docker_compose_path:
|
||||||
description: 'Path to deploy docker-compose.yml (e.g. /home/user/app/docker-compose.yml)'
|
description: 'Path to deploy docker-compose.yml (e.g. /home/user/app/docker-compose.yml)'
|
||||||
@@ -23,12 +19,6 @@ inputs:
|
|||||||
description: 'the path where the docker-compose file will be copied to'
|
description: 'the path where the docker-compose file will be copied to'
|
||||||
required: true
|
required: true
|
||||||
default: '/home/linly/services/gitea'
|
default: '/home/linly/services/gitea'
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
# These are provided via GitHub Secrets
|
# These are provided via GitHub Secrets
|
||||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
|
|||||||
Reference in New Issue
Block a user