Skip to content

Commit

Permalink
Merge branch 'main' into generic_component_lifecycle_process
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Kurzmann <marcel.kurzmann@bosch.com>
  • Loading branch information
mkurzman authored Aug 20, 2024
2 parents 19c4fad + 2e53929 commit 6f1f86d
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 2 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/website-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Website Deploy

on:
push:
branches:
- main

jobs:
build:
name: Website Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: website/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: website
- name: Build website
run: npm run build
working-directory: website
- uses: actions/upload-pages-artifact@v3
with:
path: website/build
deploy:
name: Website Deploy
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/deploy-pages@v4
24 changes: 24 additions & 0 deletions .github/workflows/website-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Website Test

on:
pull_request:
branches:
- main

jobs:
test:
name: Website Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: website/package-lock.json
- name: Install dependencies
run: npm ci
working-directory: website
- name: Test build
run: npm run build
working-directory: website
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ sidebar_position: 4

# Software Development Monitoring

tbd
tbd
2 changes: 1 addition & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const config = {
url: 'https://your-docusaurus-site.example.com',
// Set the /<baseUrl>/ pathname under which your site is served
// For GitHub pages deployment, it is often '/<projectName>/'
baseUrl: '/',
baseUrl: '/guidance/',

// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
Expand Down

0 comments on commit 6f1f86d

Please sign in to comment.