22 lines
608 B
YAML
22 lines
608 B
YAML
name: 'Deploy to branch.dsv.su.se'
|
|
description: 'Deploy the current branch via Docker Compose to branch.dsv.su.se'
|
|
inputs:
|
|
gitea-token:
|
|
description: 'The Gitea token to use for authentication'
|
|
default: ${{ github.token }}
|
|
required: false
|
|
ssh-key:
|
|
description: 'The SSH key to use for authentication'
|
|
default: ${{ secrets.BRANCH_DEPLOY_KEY }}
|
|
required: true
|
|
compose-file:
|
|
description: 'The Docker Compose file to use'
|
|
default: 'compose.yaml'
|
|
required: true
|
|
outputs:
|
|
url:
|
|
description: 'The URL of the deployed branch'
|
|
runs:
|
|
using: node20
|
|
main: dist/index.js
|