All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 14s
32 lines
904 B
YAML
32 lines
904 B
YAML
# name: Gitea Actions Demo
|
|
# run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
|
|
|
# on:
|
|
# workflow_dispatch:
|
|
# push:
|
|
# paths:
|
|
# - ntfy/**
|
|
|
|
# env:
|
|
# app_folder: ntfy
|
|
|
|
|
|
# jobs:
|
|
# Explore-Gitea-Actions:
|
|
# runs-on: ubuntu-latest
|
|
# steps:
|
|
# - name: Execute remote SSH commands using password
|
|
# uses: appleboy/ssh-action@v1
|
|
# with:
|
|
# host: ${{ secrets.HOST }}
|
|
# username: geezo
|
|
# password: ${{ secrets.PASSWORD }}
|
|
# port: ${{ secrets.PORT }}
|
|
# script: |
|
|
# cd /home/geezo/docker_containers && \
|
|
# if ./restart_container.sh ${{ env.app_folder }}; then
|
|
# ./send_notification.sh -m "Successfully updated ${{ env.app_folder }} container"
|
|
# else
|
|
# ./send_notification.sh -m "Failed to update ${{ env.app_folder }} container"
|
|
# fi
|