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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 114 - (hide annotations)
Mon Jul 29 17:28:39 2024 UTC (8 months, 1 week ago) by rakin
File size: 1109 byte(s)
Update docs-deploy.yml
1 rakin 93 # This is a basic workflow to help you get started with Actions
2    
3     name: Docs
4    
5     # Controls when the workflow will run
6     on: [ push, pull_request ]
7    
8     # A workflow run is made up of one or more jobs that can run sequentially or in parallel
9     jobs:
10     # This workflow contains a single job called "build"
11 rakin 98 docs-deploy:
12 rakin 93 # The type of runner that the job will run on
13     runs-on: ubuntu-latest
14    
15     # Steps represent a sequence of tasks that will be executed as part of the job
16     steps:
17     # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
18     - uses: actions/checkout@v3
19     - uses: actions/[email protected]
20     - name: Install Mkdocs
21 rakin 114 run: pip install mkdocs mkdocs-material
22 rakin 93
23 rakin 95 - name: Set version
24 rakin 97 run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
25 rakin 95
26 rakin 93 - name: Build docs
27 rakin 99 run: mkdocs build
28 rakin 93
29     - name: Deploy 🚀
30     uses: JamesIves/[email protected]
31     with:
32     branch: gh-pages # The branch the action should deploy to.
33     folder: site # The folder the action should deploy.

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26