Skip to content

Commit

Permalink
Merge branch 'main' into cg-oauth-details
Browse files Browse the repository at this point in the history
  • Loading branch information
conceptualshark authored Dec 12, 2024
2 parents 2f572db + dba4b16 commit 269fc7e
Show file tree
Hide file tree
Showing 2,472 changed files with 9,072 additions and 83,524 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Cache Docusaurus
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Verify format with Vale
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
if: ${{ env.MESSAGES != '' }}
with:
message: |
:wave: :robot: :thinking: Hello! Did you make your changes in all the right places?
:wave: :robot: :thinking: Hello, @${{ github.actor }}! Did you make your changes in all the right places?
${{ env.MESSAGES }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/preview-env-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
name: deploy-preview-env
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v1
with:
node-version: 22

- name: Import secrets from Vault
id: secrets
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/publish-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- "!1.3.[0-9]+"
- "!8.0.[0-9]+"
- "!8.1.[0-9]+"
- "!8.2.[0-9]+"

permissions:
id-token: write
Expand All @@ -23,7 +24,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Enable Indexing
Expand All @@ -32,6 +33,8 @@ jobs:
run: npm run build
env:
NODE_OPTIONS: --max_old_space_size=8192
DOCS_SITE_URL: https://docs.camunda.io
DOCS_SITE_BASE_URL: /
- name: Get Github Actions IP
id: ip
uses: haythem/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-stage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 16
node-version: 22
- name: Install Dependencies
run: npm ci
- name: Cache Docusaurus
uses: ./.github/actions/docusaurus-cache
- name: Update URL
run: 'sed -i ''s!url: "https://docs.camunda.io"!url: "https://stage.docs.camunda.io"!g'' docusaurus.config.js'
- name: Update redirects for environment
run: "sed -i 's!https://unsupported.docs.camunda.io!https://stage.unsupported.docs.camunda.io!g' ./static/.htaccess"
- name: Build
run: npm run build
env:
NODE_OPTIONS: --max_old_space_size=8192
DOCS_SITE_URL: https://stage.docs.camunda.io
DOCS_SITE_BASE_URL: /
- name: Get Github Actions IP
id: ip
uses: haythem/[email protected]
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/sync-rest-api-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,17 @@ jobs:
exit 0
fi
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@v2
with:
app_id: ${{ secrets.GH_APP_API_SYNC_ID }}
private_key: ${{ secrets.GH_APP_API_SYNC_KEY }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: "${{ secrets.GITHUB_TOKEN }}"
token: "${{ steps.generate_token.outputs.token }}"
path: docs
title: Update camunda REST API doc
body: |
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.1
22.11.0
2 changes: 1 addition & 1 deletion Dockerfile.build
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# To run: `npm run build:docker`

# Install dependencies
FROM node:16 AS build-setup
FROM node:22 AS build-setup
WORKDIR /app
COPY package*.json ./
RUN npm install
Expand Down
Loading

0 comments on commit 269fc7e

Please sign in to comment.