Skip to content

Commit 174e0b0

Browse files
committed
.
1 parent 518260a commit 174e0b0

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

.github/workflows/lint.yml

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Deploy to PythonAnywhere
1+
name: Lint code
22

33
on:
44
push:
55
branches:
6-
- main # Замените на вашу основную ветку
6+
- main
77

88
jobs:
99
deploy:
@@ -23,9 +23,8 @@ jobs:
2323
python -m pip install --upgrade pip
2424
pip install -r requirements.txt
2525
26-
- name: Deploy to PythonAnywhere
27-
env:
28-
PA_API_TOKEN: ${{ secrets.PA_API_TOKEN }}
29-
run: |
30-
curl -X POST "https://www.pythonanywhere.com/api/v0/user/YOUR_USERNAME/webapps/YOUR_APP_NAME/reload/" \
31-
-H "Authorization: Token $PA_API_TOKEN"
26+
- name: Install flake8
27+
run: pip install flake8
28+
29+
- name: Lint code
30+
run: flake8 .

app/templates/include_content.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
{% block content %}
88
{% include template_htmx %}
9-
{% endblock %}
9+
{% endblock %}

app/templates/site/index.html

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<!-- Hero Section -->
22
<section id="hero" class="hero section dark-background">
33
<img src="{{ url_for('static', filename='assets/img/index-bg.jpg') }}" alt="" data-aos="fade-in">
4-
54
<div class="container" data-aos="zoom-out" data-aos-delay="100">
65
{% if current_user.is_authenticated %}
76
<h2>Welcome Akrom</h2>

0 commit comments

Comments
 (0)