21 lines
534 B
YAML
21 lines
534 B
YAML
name: Deploy
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
on: []
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout codebase
|
|
uses: actions/checkout@v2
|
|
|
|
- name: 'Docker Stack Deploy'
|
|
uses: cssnr/stack-deploy-action@v1
|
|
with:
|
|
host: ${{ secrets.SSH_HOST }}
|
|
port: ${{ secrets.SSH_PORT }}
|
|
user: ${{ secrets.SSH_USERNAME }}
|
|
ssh_key: ${{ secrets.SSH_PRIV_KEY }}
|
|
file: 'docker-compose.yml'
|
|
name: 'filestash'
|