File tree Expand file tree Collapse file tree 8 files changed +28
-4
lines changed
templates/videogames_register Expand file tree Collapse file tree 8 files changed +28
-4
lines changed Original file line number Diff line number Diff line change 31
31
- name : Checkout code
32
32
uses : actions/checkout@v4
33
33
34
+ - name : Install GitVersion
35
+ run : |
36
+ dotnet tool install --global GitVersion.Tool --version 5.*
37
+ export PATH="$PATH:/home/runner/.dotnet/tools"
38
+
39
+ - name : Generate a version
40
+ id : gitversion
41
+ run : |
42
+ export GITVERSION_FULLSEMVER=$(gitversion /showvariable FullSemVer)
43
+ echo "GIT_TAG=${GITVERSION_FULLSEMVER}" >> $GITHUB_ENV
44
+
34
45
- name : Create release tag
35
46
env :
36
- GIT_TAG : " v$(date +'%Y.%m.%d.%H%M') "
47
+ GIT_TAG : ${{ env.GIT_TAG }}
37
48
run : |
38
49
git config user.name "github-actions[bot]"
39
50
git config user.email "github-actions[bot]@users.noreply.github.com"
Original file line number Diff line number Diff line change 1
-
2
1
name : Trunk CI
3
2
4
3
on :
32
31
- name : Checkout code
33
32
uses : actions/checkout@v4
34
33
34
+ - name : Install GitVersion
35
+ run : |
36
+ dotnet tool install --global GitVersion.Tool --version 5.*
37
+ export PATH="$PATH:/home/runner/.dotnet/tools"
38
+
39
+ - name : Generate a version
40
+ id : gitversion
41
+ run : |
42
+ export GITVERSION_FULLSEMVER=$(gitversion /showvariable FullSemVer)
43
+ echo "GIT_TAG=${GITVERSION_FULLSEMVER}" >> $GITHUB_ENV
44
+
35
45
- name : Create release tag
36
46
env :
37
- GIT_TAG : " v$(date +'%Y.%m.%d.%H%M') "
47
+ GIT_TAG : ${{ env.GIT_TAG }}
38
48
run : |
39
49
git config user.name "github-actions[bot]"
40
50
git config user.email "github-actions[bot]@users.noreply.github.com"
Original file line number Diff line number Diff line change 12
12
import os
13
13
from pathlib import Path
14
14
15
+
16
+
15
17
from django .contrib import staticfiles
16
18
import environ
17
19
98
100
}
99
101
}
100
102
103
+
101
104
# Password validation
102
105
# https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators
103
106
Original file line number Diff line number Diff line change 1
1
{% extends "videogames_register/base.html" %}
2
2
3
3
{% block content %}
4
- < div class ="search-bar ">
4
+ < div class ="search-bar " style = " background-color: #ba2121 " >
5
5
< form method ="get " action ="{% url 'videogame_list' %} ">
6
6
< input type ="text " name ="query " placeholder ="Search games... " class ="form-control " value ="{{ request.GET.query }} ">
7
7
< button type ="submit " class ="btn btn-primary mt-2 "> Search</ button >
You can’t perform that action at this time.
0 commit comments