Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/baidakovil/GreatGigBot into…
Browse files Browse the repository at this point in the history
… main
  • Loading branch information
baidakovil committed Dec 8, 2023
2 parents 2f4f008 + 87c3c7f commit b48f9bd
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 31 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Deployment

on:
workflow_dispatch:
workflow_run:
workflows: ["Docker Hub Publish"]
types:
- completed
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: executing deployment script
uses: appleboy/ssh-action@v0.1.10
with:
host: ${{ secrets.DEPLOYMENT_HOST }}
username: ${{ secrets.DEPLOYMENT_USERNAME }}
password: ${{ secrets.DEPLOYMENT_PASSWORD }}
script: cd $HOME/${{ secrets.DEPLOYMENT_FOLDER }} && git pull && sudo systemctl restart ${{ secrets.DEPLOYMENT_SERVICE }}
18 changes: 0 additions & 18 deletions .github/workflows/docker-image.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Docker
name: Docker Hub Publish

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
Expand Down
17 changes: 5 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,12 @@
# GreenGrassBot

[![Pylint](https://github.com/baidakovil/GreenGrassBot/actions/workflows/pylint-workflow.yml/badge.svg)](https://github.com/baidakovil/GreenGrassBot/actions/workflows/pylint-workflow.yml) [![Docker](https://github.com/baidakovil/GreenGrassBot/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/baidakovil/GreenGrassBot/actions/workflows/docker-publish.yml) [![Deployment](https://github.com/baidakovil/GreenGrassBot/actions/workflows/deployment.yml/badge.svg)](https://github.com/baidakovil/GreenGrassBot/actions/workflows/deployment.yml)

![Pylint Automated Workflow](https://github.com/baidakovil/greengrassbot/actions/workflows/pylint-workflow_dispatch.yml/badge.svg)
#### Nice metrics:
![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/baidakovil/GreenGrassBot)


## Nice and Bads

| **What's nice** |**Nice metric** |
|---------------------------|---------------------------------------------------------------------------------------------------------------|
| I am the only contributor | ![GitHub commit activity (branch)](https://img.shields.io/github/commit-activity/m/baidakovil/GreenGrassBot)|


| **What's bad** |**Bad metric** |
|---------------------------|---------------------------------------------------------------------------------------------------------------|
| I am the only contributor | ![GitHub contributors](https://img.shields.io/github/contributors/baidakovil/GreenGrassBot) |
#### Metrics to make prettier:
![GitHub contributors](https://img.shields.io/github/contributors/baidakovil/GreenGrassBot)


Green Grass Telegram Bot is a notificator abour music events.
Expand Down

0 comments on commit b48f9bd

Please sign in to comment.