Skip to content

Commit 108fc80

Browse files
committed
ci: lighter requirements
1 parent cf667ac commit 108fc80

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.github/workflows/deploy.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@ jobs:
2525
python -m pip install -r requirements.txt
2626
- name: Generate
2727
run: ./build.sh
28-
- name: Automation
28+
- name: Setup SSH
29+
# Prevent "Fatal error: Host key verification failed"
2930
run: |
30-
# Prevent "Fatal error: Host key verification failed"
3131
mkdir -p ~/.ssh
3232
ssh-keyscan -H ${{ secrets.SFTP_URL }} >> ~/.ssh/known_hosts
33-
34-
# Mirror the locally generated website to the production server
33+
- name: Automation
34+
# Mirror the locally generated website to the production server
35+
run: |
3536
lftp \
3637
-e 'mirror --delete --only-missing -en --reverse ./luma ${{ secrets.SFTP_PATH }} ; quit' \
3738
-u '${{ secrets.SFTP_USER }},${{ secrets.SFTP_PASSWORD }}' \

requirements-tests.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
-r requirements.txt
2+
mypy==1.8.0
3+
pymarkdownlnt==0.9.16
4+
ruff==0.2.0
5+
sphinx-autobuild==2021.3.14

requirements.txt

-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
mypy==1.8.0
21
myst-parser==2.0.0
3-
pymarkdownlnt==0.9.16
4-
ruff==0.2.0
52
shibuya==2024.1.17
63
sphinx==7.2.6
7-
sphinx-autobuild==2021.3.14
84
sphinx-copybutton==0.5.2
95
# sphinx-design==0.5.0
106
# sphinx-tabs==3.4.5

0 commit comments

Comments
 (0)