Dev #18
27
.github/workflows/main.yaml
vendored
27
.github/workflows/main.yaml
vendored
@@ -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 }}
|
||||
6
public/robots.txt
Normal file
6
public/robots.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
User-agent: *
|
||||
Disallow: /api/
|
||||
Disallow: /cookie/
|
||||
Disallow: /privacy-policy/
|
||||
Disallow: /user-agreement/
|
||||
Sitemap: https://fire-experts.ru/sitemap.xml
|
||||
9
public/sitemap.xml
Normal file
9
public/sitemap.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://fire-experts.ru/</loc>
|
||||
<lastmod>2024-06-19</lastmod>
|
||||
<changefreq>monthly</changefreq>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
Reference in New Issue
Block a user