Merge pull request #135 from IBM/add_opcua_lab #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Maximo Labs | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v4 | |
- name: Install Python 3.9.x | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9.x | |
- uses: actions/cache@v2 | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- run: pip install mkdocs ghp-import | |
- run: pip list | |
- name: Build All MKdocs | |
env: | |
MKDOCS_DEPLOY: True | |
run: ./build_all_mkdocs.sh | |
- name: Deploy the build site to gh-pages | |
run: ghp-import -po ${GITHUB_WORKSPACE}/site | |
- name: List files in the repository | |
run: ls -la ${{ github.workspace }} | |
- run: echo "🍏 This job's status is ${{ job.status }}." |