include deploy
Some checks failed
Gitea Actions Demo / compile-html (push) Failing after 1m34s

This commit is contained in:
vitrinekast 2025-01-07 12:01:50 +01:00
parent 458b470301
commit 3d23f3be6c
3 changed files with 21 additions and 6 deletions

View File

@ -23,6 +23,16 @@ jobs:
pip install -r requirements.txt pip install -r requirements.txt
- name: Run the python application - name: Run the python application
run: python temp.py run: python app.py
- name: Push the changes to the FTP server
uses: https://github.com/SamKirkland/FTP-Deploy-Action@v4.3.4
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
port: ${{ secrets.FTP_PORT }} # Added port configuration
local-dir: dist/
server-dir: /vitrinekast/temp-action/
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."

View File

@ -1 +1,10 @@
importlib_metadata==8.5.0
Jinja2==3.1.4
Markdown==3.7
markdown-include==0.8.1
MarkupSafe==3.0.2
python-frontmatter==1.1.0
python-slugify==8.0.4 python-slugify==8.0.4
PyYAML==5.1
text-unidecode==1.3
zipp==3.21.0

View File

@ -1,4 +0,0 @@
from slugify import slugify
print('hello from python!')
print(slugify("i used to have spaces"))