From 3d23f3be6c9308576ad05e9cfaa2b045702b478e Mon Sep 17 00:00:00 2001 From: vitrinekast Date: Tue, 7 Jan 2025 12:01:50 +0100 Subject: [PATCH] include deploy --- .gitea/workflows/demo.yaml | 12 +++++++++++- requirements.txt | 11 ++++++++++- temp.py | 4 ---- 3 files changed, 21 insertions(+), 6 deletions(-) delete mode 100644 temp.py diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 4c0da2e..5ad3fb7 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -23,6 +23,16 @@ jobs: pip install -r requirements.txt - 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 }}." \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 8b058c2..ced814a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,10 @@ -python-slugify==8.0.4 \ No newline at end of file +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 +PyYAML==5.1 +text-unidecode==1.3 +zipp==3.21.0 diff --git a/temp.py b/temp.py deleted file mode 100644 index c317258..0000000 --- a/temp.py +++ /dev/null @@ -1,4 +0,0 @@ -from slugify import slugify - -print('hello from python!') -print(slugify("i used to have spaces")) \ No newline at end of file