Skip to content

Add changed workflow files to main branch #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion .github/workflows/Gitflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,20 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install GitVersion
run: |
dotnet tool install --global GitVersion.Tool --version 5.*
export PATH="$PATH:/home/runner/.dotnet/tools"

- name: Generate a version
id: gitversion
run: |
export GITVERSION_FULLSEMVER=$(gitversion /showvariable FullSemVer)
echo "GIT_TAG=${GITVERSION_FULLSEMVER}" >> $GITHUB_ENV

- name: Create release tag
env:
GIT_TAG: "v$(date +'%Y.%m.%d.%H%M')"
GIT_TAG: ${{ env.GIT_TAG }}
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

name: Trunk CI

on:
Expand Down Expand Up @@ -32,9 +31,20 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install GitVersion
run: |
dotnet tool install --global GitVersion.Tool --version 5.*
export PATH="$PATH:/home/runner/.dotnet/tools"

- name: Generate a version
id: gitversion
run: |
export GITVERSION_FULLSEMVER=$(gitversion /showvariable FullSemVer)
echo "GIT_TAG=${GITVERSION_FULLSEMVER}" >> $GITHUB_ENV

- name: Create release tag
env:
GIT_TAG: "v$(date +'%Y.%m.%d.%H%M')"
GIT_TAG: ${{ env.GIT_TAG }}
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
Expand Down
Binary file modified Videogames_project/__pycache__/settings.cpython-312.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions Videogames_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
import os
from pathlib import Path



from django.contrib import staticfiles
import environ

Expand Down Expand Up @@ -98,6 +100,7 @@
}
}


# Password validation
# https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators

Expand Down
Binary file not shown.
Binary file modified videogames_register/__pycache__/views.cpython-312.pyc
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "videogames_register/base.html" %}

{% block content %}
<div class="search-bar">
<div class="search-bar" style = "background-color: #ba2121">
<form method="get" action="{% url 'videogame_list' %}">
<input type="text" name="query" placeholder="Search games..." class="form-control" value="{{ request.GET.query }}">
<button type="submit" class="btn btn-primary mt-2">Search</button>
Expand Down
Loading