File tree 3 files changed +8
-10
lines changed
3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 1
- name : Deploy to PythonAnywhere
1
+ name : Lint code
2
2
3
3
on :
4
4
push :
5
5
branches :
6
- - main # Замените на вашу основную ветку
6
+ - main
7
7
8
8
jobs :
9
9
deploy :
23
23
python -m pip install --upgrade pip
24
24
pip install -r requirements.txt
25
25
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 .
Original file line number Diff line number Diff line change 6
6
7
7
{% block content %}
8
8
{% include template_htmx %}
9
- {% endblock %}
9
+ {% endblock %}
Original file line number Diff line number Diff line change 1
1
<!-- Hero Section -->
2
2
< section id ="hero " class ="hero section dark-background ">
3
3
< img src ="{{ url_for('static', filename='assets/img/index-bg.jpg') }} " alt ="" data-aos ="fade-in ">
4
-
5
4
< div class ="container " data-aos ="zoom-out " data-aos-delay ="100 ">
6
5
{% if current_user.is_authenticated %}
7
6
< h2 > Welcome Akrom</ h2 >
You can’t perform that action at this time.
0 commit comments