@@ -35,31 +35,30 @@ jobs:
35
35
- name : Run test
36
36
run : ./bin/test
37
37
38
- # Deploy:
39
- # runs-on: ubuntu-latest
40
- # if: {{ github.ref == 'ref/head/master' }}
41
- # steps:
42
- # - name: Checkout code
43
- # uses: actions/checkout@v1
38
+ Deploy-Docs :
39
+ runs-on : ubuntu-latest
40
+ steps :
41
+ - name : Checkout code
42
+ uses : actions/checkout@v1
44
43
45
- # - name: Set up Python 3.x
46
- # uses: actions/setup-python@v1 # Use pip to install latest CMake, & FORD/Jin2For, etc.
47
- # with:
48
- # python-version: 3.x
44
+ - name : Set up Python 3.x
45
+ uses : actions/setup-python@v1 # Use pip to install latest CMake, & FORD/Jin2For, etc.
46
+ with :
47
+ python-version : 3.x
49
48
50
- # - name: Install other tools
51
- # if: contains( matrix.os, 'ubuntu')
52
- # run: |
53
- # sudo apt-get install graphviz
54
- # sudo -H pip install numpy
55
- # sudo -H pip install ford && ford --version
56
- # sudo -H pip install matplotlib
49
+ - name : Install other tools
50
+ if : contains( matrix.os, 'ubuntu')
51
+ run : |
52
+ sudo apt-get install graphviz
53
+ sudo -H pip install numpy
54
+ sudo -H pip install ford && ford --version
55
+ sudo -H pip install matplotlib
57
56
58
- # - name: Build documentation
59
- # run: ford ./pyplot-fortran.md
57
+ - name : Build documentation
58
+ run : ford ./pyplot-fortran.md
60
59
61
- # - name: Deploy Documentation
62
- # uses: JamesIves/[email protected]
63
- # with:
64
- # branch: gh-pages # The branch the action should deploy to.
65
- # folder: doc # The folder the action should deploy.
60
+ - name : Deploy Documentation
61
+
62
+ with :
63
+ branch : gh-pages # The branch the action should deploy to.
64
+ folder : doc # The folder the action should deploy.
0 commit comments