You've already forked ci-templates
generated from public/repo-template
1.2 KiB
1.2 KiB
Drist CI documentation
Drist is used to deploy files on servers using SSH.
This workflow executes drist -s hosts in the current revision.
It runs ssh client with -o StrictHostKeychecking=no.
If there's a ssh_config file in the repo's root, it will be used to connect to servers. Example:
Host myserver.mycompany.mydomain
Port 123
- in
hostsfile, each host should be specified asuser@host scriptfile contains CI script which is executed on each hostscript-hostnamefile contains CI script which is executed on the specified hostname- files from the
filesdirectory can be accessed from thescript - files from the
files-hostnamedirectory can be accessed only on the host with specified hostname
How to use:
name: Drist
on:
push:
branches:
- master
- main
workflow_dispatch: {}
jobs:
drist:
name: Run Drist
uses: public/ci-templates/.gitea/workflows/drist.yaml@v1
secrets:
ssh_private_key: ${{ secrets.DRIST_SSH_PRIVATE_KEY }}
There are also inputs that contain default values. You can look them up in drist.yaml