/[sudobot]/trunk/.github/workflows/docs-deploy.yml
ViewVC logotype

Diff of /trunk/.github/workflows/docs-deploy.yml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 94 by rakin, Mon Jul 29 17:28:34 2024 UTC revision 98 by rakin, Mon Jul 29 17:28:35 2024 UTC
# Line 8  on: [ push, pull_request ] Line 8  on: [ push, pull_request ]
8  # A workflow run is made up of one or more jobs that can run sequentially or in parallel  # A workflow run is made up of one or more jobs that can run sequentially or in parallel
9  jobs:  jobs:
10    # This workflow contains a single job called "build"    # This workflow contains a single job called "build"
11    build:    docs-deploy:
12      # The type of runner that the job will run on      # The type of runner that the job will run on
13      runs-on: ubuntu-latest      runs-on: ubuntu-latest
14    
# Line 18  jobs: Line 18  jobs:
18        - uses: actions/checkout@v3        - uses: actions/checkout@v3
19        - uses: actions/[email protected]        - uses: actions/[email protected]
20        - name: Install Mkdocs        - name: Install Mkdocs
21          run: pip install mkdocs mkdocs-material          run: pip install mkdocs mkdocs-material mike
22    
23          - name: Set version
24            run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
25    
26        - name: Build docs        - name: Build docs
27          run: mkdocs build          run: mike deploy $RELEASE_VERSION
28                    
29        - name: Deploy 🚀        - name: Deploy 🚀
30          uses: JamesIves/[email protected]          uses: JamesIves/[email protected]

Legend:
Removed from v.94  
changed lines
  Added in v.98

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26