diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 7343a64..460a463 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -51,3 +51,30 @@ jobs: - name: Start containers run: | docker compose -f docker-compose.yaml up -d + + - name: Notify Telegram about success + if: success() + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TELEGRAM_CHAT_ID }} + token: ${{ secrets.TELEGRAM_BOT_TOKEN }} + message: | + ✅ Деплой успешно завершен! + Репозиторий: ${{ github.repository }} + Ветка: ${{ github.ref }} + Коммит: ${{ github.sha }} + Сервер: ${{ secrets.SERVER_IP }} + Путь: ${{ secrets.DEPLOY_PATH }} + + - name: Notify Telegram about failure + if: failure() + uses: appleboy/telegram-action@master + with: + to: ${{ secrets.TELEGRAM_CHAT_ID }} + token: ${{ secrets.TELEGRAM_BOT_TOKEN }} + message: | + ❌ Деплой не удался! + Репозиторий: ${{ github.repository }} + Ветка: ${{ github.ref }} + Коммит: ${{ github.sha }} + Подробности: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} \ No newline at end of file diff --git a/public/robots.txt b/public/robots.txt new file mode 100644 index 0000000..ff88efb --- /dev/null +++ b/public/robots.txt @@ -0,0 +1,6 @@ +User-agent: * +Disallow: /api/ +Disallow: /cookie/ +Disallow: /privacy-policy/ +Disallow: /user-agreement/ +Sitemap: https://fire-experts.ru/sitemap.xml \ No newline at end of file diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..ff0aabd --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,9 @@ + + + + https://fire-experts.ru/ + 2024-06-19 + monthly + 1.0 + + \ No newline at end of file