-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (34 loc) · 956 Bytes
/
make-deploy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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