Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit cb863d5

Browse files
committed
Deploy to GitHub Pages
Merged build and deploy jobs. Updated dependencies installation step.
1 parent f0ce678 commit cb863d5

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/deploy_pages.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,29 +22,24 @@ concurrency:
2222
cancel-in-progress: true
2323

2424
jobs:
25-
build:
25+
# Single deploy job since we're just deploying
26+
deploy:
2627
environment:
2728
name: github-pages
29+
url: ${{ steps.deployment.outputs.page_url }}
2830
runs-on: ubuntu-latest
2931
steps:
3032
- name: Checkout
3133
uses: actions/checkout@v3
3234
- name: Setup Python
3335
uses: actions/setup-python@v2
34-
- name: Install Dependencies
36+
- name: Install dependencies
37+
run: |
38+
pip install sphinx sphinx_rtd_theme
39+
- name: Build documents
3540
run: |
36-
pip install -r requirements.txt
37-
LANGUAGE=ua make html
3841
LANGUAGE=en make html
39-
# Single deploy job since we're just deploying
40-
deploy:
41-
environment:
42-
name: github-pages
43-
url: ${{ steps.deployment.outputs.page_url }}
44-
runs-on: ubuntu-latest
45-
steps:
46-
- name: Checkout
47-
uses: actions/checkout@v3
42+
LANGUAGE=ua make html
4843
- name: Setup Pages
4944
uses: actions/configure-pages@v2
5045
- name: Upload artifact

0 commit comments

Comments
 (0)