fix(oledb): simplify connection test #577
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: Release new OIBus version | |
on: | |
push: | |
branches: | |
- stable | |
concurrency: | |
# New commit on branch cancels running workflows of the same branch | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
release-please: | |
name: 'Tag new version' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: google-github-actions/release-please-action@v4 | |
id: release | |
with: | |
token: ${{ secrets.REPO_ACCESS_TOKEN }} | |
target-branch: stable | |
config-file: .github/release-please-config.json | |
manifest-file: .github/release-please-manifest.json | |
- name: Checkout | |
if: ${{ steps.release.outputs.release_created }} | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.ref }} | |
- name: Build documentation | |
if: ${{ steps.release.outputs.release_created }} | |
shell: bash | |
run: | | |
cd documentation | |
npm ci | |
npm run build | |
- name: Deploy documentation | |
if: ${{ steps.release.outputs.release_created }} | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# Build output to publish to the `gh-pages` branch: | |
publish_dir: ./documentation/build | |
# The following lines assign commit authorship to the official | |
# GH-Actions bot for deploys to `gh-pages` branch: | |
# https://github.com/actions/checkout/issues/13#issuecomment-724415212 | |
# The GH actions bot is used by default if you didn't specify the two fields. | |
# You can swap them out with your own user credentials. | |
user_name: Optimistik SAS | |
user_email: [email protected] | |