@@ -35,31 +35,30 @@ jobs:
3535 - name : Run test
3636 run : ./bin/test
3737
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
4443
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
4948
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
5756
58- # - name: Build documentation
59- # run: ford ./pyplot-fortran.md
57+ - name : Build documentation
58+ run : ford ./pyplot-fortran.md
6059
61- # - name: Deploy Documentation
62- # uses: JamesIves/github-pages-deploy-action@4.1.0
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+ uses : JamesIves/github-pages-deploy-action@4.1.0
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