Files
microchat-app/.gitea/workflows/deploy.yaml
Vadim c88d74ec6d
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m47s
wip
2026-03-25 21:19:14 +03:00

26 lines
672 B
YAML

name: Gitea Actions Demo
run-name: Deploy 🚀
on:
push:
branches:
- main
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: latest
- run: npm install
- run: npm run build
- uses: easingthemes/ssh-deploy@main
with:
SSH_PRIVATE_KEY: ${{ secrets.KEY }}
ARGS: "-rlgoDzvc -i --delete"
SOURCE: "dist/"
REMOTE_HOST: ${{ secrets.HOST }}
REMOTE_USER: ${{ secrets.USERNAME }}
TARGET: "/var/www/microchat-app"
- name: Ready
run: echo "Success!"