File tree Expand file tree Collapse file tree 3 files changed +74
-16
lines changed Expand file tree Collapse file tree 3 files changed +74
-16
lines changed Original file line number Diff line number Diff line change
1
+ # This is a comment.
2
+ # Each line is a file pattern followed by one or more owners.
3
+
4
+ # These owners will be the default owners for everything in
5
+ # the repo. Unless a later match takes precedence,
6
+ # @global-owner1 and @global-owner2 will be requested for
7
+ # review when someone opens a pull request.
8
+ * @ HACManchester/board
Original file line number Diff line number Diff line change 1
- name : ci
1
+ name : Deploy Mkdocs to GitHub Pages
2
+
2
3
on :
3
- push :
4
- branches :
5
- - master
4
+ pull_request :
5
+
6
6
jobs :
7
- deploy :
7
+ build :
8
8
runs-on : ubuntu-latest
9
9
steps :
10
- - uses : actions/checkout@v2
10
+ - name : Checkout
11
+ uses : actions/checkout@v4
11
12
with :
12
13
fetch-depth : 0
13
- - uses : actions/setup-python@v2
14
+ - name : Setup Pages
15
+ uses : actions/configure-pages@v5
16
+ - uses : actions/setup-python@v5
14
17
with :
15
18
python-version : 3.x
16
- - run : mkdir -p site
17
- - run : pip install mkdocs
18
- - run : pip install mkdocs-material
19
- - run : pip install mkdocs-video
20
- - run : pip install git+https://github.com/srymh/MkdocsTagPlugin.git@ac1f02ba95527d11d84b5ec87f4e63851d57fc7d
21
- - run : pip install git+https://github.com/rkoe/mkdocs-emailprotect@ef91e3dda367bd6a3f65dda183559e1b929d6240
22
- - run : pip install mkdocs-git-revision-date-localized-plugin
23
- - run : pip install mkdocs-awesome-nav
24
- - run : mkdocs gh-deploy --force
19
+ - name : Install dependencies
20
+ run : pip install -r requirements.txt
21
+ - name : Make a folder to stop a stupid error
22
+ run : mkdir -p _site
23
+ - name : Build mkdocs
24
+ run : mkdocs build --clean --verbose --site-dir _site
25
+ - name : Upload artifact
26
+ uses : actions/upload-pages-artifact@v3
Original file line number Diff line number Diff line change
1
+ name : Deploy Mkdocs to GitHub Pages
2
+
3
+ on :
4
+ push :
5
+ branches : ["master"]
6
+ workflow_dispatch :
7
+
8
+ permissions :
9
+ contents : read
10
+ pages : write
11
+ id-token : write
12
+
13
+ concurrency :
14
+ group : " pages"
15
+ cancel-in-progress : false
16
+
17
+ jobs :
18
+ build :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - name : Checkout
22
+ uses : actions/checkout@v4
23
+ with :
24
+ fetch-depth : 0
25
+ - name : Setup Pages
26
+ uses : actions/configure-pages@v5
27
+ - uses : actions/setup-python@v5
28
+ with :
29
+ python-version : 3.x
30
+ - name : Install dependencies
31
+ run : pip install -r requirements.txt
32
+ - name : Make a folder to stop a stupid error
33
+ run : mkdir -p _site
34
+ - name : Build mkdocs
35
+ run : mkdocs build --clean --verbose --site-dir _site
36
+ - name : Upload artifact
37
+ uses : actions/upload-pages-artifact@v3
38
+
39
+ deploy :
40
+ environment :
41
+ name : github-pages
42
+ url : ${{ steps.deployment.outputs.page_url }}
43
+ runs-on : ubuntu-latest
44
+ needs : build
45
+ steps :
46
+ - name : Deploy to GitHub Pages
47
+ id : deployment
48
+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments