Update poetry.md #133
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build & Deploy May.la MyST | |
on: | |
push: | |
branches: [ main ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/actions/checkout | |
- uses: actions/checkout@v4 | |
# https://github.com/actions/setup-python | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.10" | |
- name: Install | |
run: | | |
python -m pip install -U pip | |
python -m pip install -r requirements.txt | |
- name: Make | |
run: | | |
make html | |
# https://github.com/SamKirkland/FTP-Deploy-Action | |
- name: Upload Site | |
uses: SamKirkland/[email protected] | |
with: | |
server: www456.your-server.de | |
username: eniaka_3 | |
password: ${{ secrets.MAY_LA_FTP_PWD }} | |
local-dir: ./build/html/ | |
protocol: ftps | |
PORT: 21 | |
# dangerous-clean-slate: true |