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

Commit f4ac400

Browse files
committed
Deploy to GitHub Pages
Updated workflow config with Sphinx build job.
1 parent 4328bf2 commit f4ac400

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/deploy_pages.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ name: Deploy static content to Pages
44
on:
55
# Runs on pushes targeting the default branch
66
push:
7-
branches: [ "gh-pages" ]
7+
branches:
8+
- gh-pages
89

910
# Allows you to run this workflow manually from the Actions tab
1011
workflow_dispatch:
@@ -21,6 +22,19 @@ concurrency:
2122
cancel-in-progress: true
2223

2324
jobs:
25+
build:
26+
environment:
27+
name: github-pages
28+
runs-on: ubuntu-latest
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v3
32+
- name: Install Dependencies
33+
uses: actions/setup-python@v2
34+
run: |
35+
pip install -r requirements.txt
36+
LANGUAGE=ua make html
37+
LANGUAGE=en make html
2438
# Single deploy job since we're just deploying
2539
deploy:
2640
environment:
@@ -36,7 +50,7 @@ jobs:
3650
uses: actions/upload-pages-artifact@v1
3751
with:
3852
# Upload entire repository
39-
path: '.'
53+
path: "."
4054
- name: Deploy to GitHub Pages
4155
id: deployment
4256
uses: actions/deploy-pages@v1

0 commit comments

Comments
 (0)