@apanel256/test-test123 1.0.7 → 1.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -21,7 +21,7 @@ jobs:
21
21
  - name: Install deps
22
22
  run: pip install -r requirements.txt
23
23
 
24
- - run: pyinstaller main.py
24
+ - run: pyinstaller src/main.py
25
25
 
26
26
  - name: Upload Artifact
27
27
  uses: actions/upload-artifact@v4
@@ -20,4 +20,4 @@ jobs:
20
20
  run: pip install -r requirements.txt
21
21
 
22
22
  - name: Run linter
23
- run: pylint --fail-under=7.0 main.py
23
+ run: pylint --fail-under=7.0 src/main.py
@@ -22,4 +22,4 @@ jobs:
22
22
  with:
23
23
  python-version: ${{ matrix.python }}
24
24
 
25
- - run: python main.py
25
+ - run: python src/main.py
@@ -0,0 +1,18 @@
1
+ name: Telegram Notify
2
+
3
+ on:
4
+ workflow_run:
5
+ workflows: "Build"
6
+ types:
7
+ - completed
8
+
9
+ jobs:
10
+ notify:
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - name: Send message
15
+ run: |
16
+ curl -s -X POST https://api.telegram.org/bot${{ secrets.TG_TOKEN }}/sendMessage \
17
+ -d chat_id=${{ secrets.TG_CHAT_ID }} \
18
+ -d text="Workflow '${{ github.event.workflow_run.name }}' finished with status: ${{ github.event.workflow_run.conclusion }}"
@@ -20,4 +20,5 @@ jobs:
20
20
  run: pip install -r requirements.txt
21
21
 
22
22
  - name: Run tests
23
+ working-directory: ./src
23
24
  run: pytest
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@apanel256/test-test123",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "",
5
- "main": "index.js",
5
+ "main": "src/index.js",
6
6
  "scripts": {
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
@@ -0,0 +1,11 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <title>GitHub Actions Deploy</title>
6
+ </head>
7
+ <body>
8
+ <h1>GitHub Actions работает!</h1>
9
+ <p>Сайт автоматически задеплоен через CI/CD.</p>
10
+ </body>
11
+ </html>
File without changes
File without changes
File without changes