Compare commits

..
2 Commits
Author SHA1 Message Date
KKlochko 56feecfeff Add the CI/CD configuration.
continuous-integration/drone/push Build is passing
2023-07-16 14:50:59 +03:00
KKlochko 6806a878b6 Remove the README.org. 2023-07-16 14:47:25 +03:00
4 changed files with 35 additions and 38 deletions
+30
View File
@@ -0,0 +1,30 @@
kind: pipeline
type: docker
name: default
steps:
- name: build
image: python:3.10-alpine
commands:
- python3 -m pip install --upgrade pip
- pip3 install -r requirements.txt
- python3 -m pip install --upgrade build
- python3 -m build
when:
branch:
- main
- name: publish
image: python:3.10-alpine
environment:
TWINE_USERNAME:
from_secret: PYPI_USERNAME
TWINE_PASSWORD:
from_secret: PYPI_PASSWORD
commands:
- python3 -m pip install --upgrade twine
- python3 -m twine upload dist/*
when:
branch:
- main
+4
View File
@@ -43,3 +43,7 @@
Update the package information and imports. Update the package information and imports.
** 1.2.0 <2023-07-16> ** 1.2.0 <2023-07-16>
Add commands to execute the package. Add commands to execute the package.
** 1.2.1 <2023-07-16>
Remove the README.org.
** 1.2.2 <2023-07-16>
Add the CI/CD configuration.
-37
View File
@@ -1,37 +0,0 @@
* Anitube Simple Notification
Anitube Simple Notification is a application made for getting
notification when a content is updated on the web-site (anitube.in.ua).
* Usage
In application folder create file with name =config.toml=. If a value
is wrong, then a error will be shown. If there no value or a wrong value
then it will be default.
Example of a config file for all options:
#+BEGIN_SRC toml
POSTERS = true
WAITING_PERIOD = 3600
URLS = [
"https://anitube.in.ua/4110-chainsaw-man.html",
"https://anitube.in.ua/4010-overlord-iv.html",
"https://anitube.in.ua/4097-mob-varyat-100-3-sezon.html",
"https://anitube.in.ua/4087-spy-x-family-part-2.html",
]
#+END_SRC
The last comma of the urls list can be ommited.
Run the program by one of the commands:
#+BEGIN_SRC shell
python3 main.py
python main.py
#+END_SRC
* Author
Kostiantyn Klochko (c) 2022-2023
* Donation
Monero: 8BCZr3LaciDZUwNUbC8M5gNZTtnPKoT9cMH95YcBoo2k8sg4qaxejYL4Qvp6V21ViqMHj5sHLiuRwhMYxHTVW1HUNAawV6c
[[./img/monero.png]]
* License
Under GNU GPL v3 license
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project] [project]
name = "anitube-simple-notification" name = "anitube-simple-notification"
version = "1.2.0" version = "1.2.2"
authors = [ authors = [
{ name="Kostiantyn Klochko", email="kklochko@protonmail.com" }, { name="Kostiantyn Klochko", email="kklochko@protonmail.com" },
] ]