-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into LarsE11-changed-placeholder-field-for-even…
…t-location
- Loading branch information
Showing
237 changed files
with
57,433 additions
and
3,790 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: ocelot.social check documentation | ||
|
||
on: push | ||
|
||
jobs: | ||
files-changed: | ||
name: Detect File Changes - Markdown files | ||
runs-on: ubuntu-latest | ||
outputs: | ||
markdown: ${{ steps.changes.outputs.markdown }} | ||
documentation: ${{ steps.changes.outputs.documentation }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
|
||
- name: Check for markdown file changes | ||
uses: dorny/paths-filter@v3.0.1 | ||
id: changes | ||
with: | ||
token: ${{ github.token }} | ||
filters: .github/file-filters.yml | ||
list-files: shell | ||
|
||
check-markdown-links: | ||
name: Check Markdown links | ||
needs: files-changed | ||
runs-on: ubuntu-latest | ||
if: needs.files-changed.outputs.markdown == 'true' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
|
||
- name: Remove old documentation files | ||
run: rm -rf ./deployment/src/old/ ./CHANGELOG.md # workaround until https://github.com/gaurav-nelson/github-action-markdown-link-check/pull/183 has been done | ||
|
||
- name: Check Markdown Links | ||
uses: gaurav-nelson/github-action-markdown-link-check@master | ||
with: | ||
use-quiet-mode: 'yes' | ||
use-verbose-mode: 'no' | ||
# at any .md file change take the chance to check the links in all .md files | ||
check-modified-files-only: 'no' | ||
config-file: '.github/workflows/mlc_config.json' | ||
base-branch: 'master' | ||
folder-path: '.' | ||
|
||
test-vuepress-build: | ||
name: Test Vuepress build | ||
needs: files-changed | ||
runs-on: ubuntu-latest | ||
if: needs.files-changed.outputs.documentation == 'true' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
|
||
- name: Setup Node 20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20' | ||
|
||
- name: npm-install | ||
run: npm install | ||
|
||
- name: npm-docs:build | ||
run: npm run docs:build |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
name: ocelot.social deploy documentation | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
files-changed: | ||
name: Detect File Changes - Markdown and Vuepress files | ||
runs-on: ubuntu-latest | ||
outputs: | ||
documentation: ${{ steps.changes.outputs.documentation }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@master | ||
|
||
- name: Check for file changes | ||
uses: dorny/paths-filter@master | ||
id: changes | ||
with: | ||
token: ${{ github.token }} | ||
filters: .github/file-filters.yml | ||
list-files: shell | ||
|
||
build-and-deploy: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@master | ||
|
||
- name: Setup Node 20 | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
|
||
- name: Build Vuepress Pages | ||
run: npm install && npm run docs:build | ||
|
||
- name: Deploy Vuepress to Github Pages | ||
uses: crazy-max/ghaction-github-pages@v4 | ||
with: | ||
target_branch: gh-pages | ||
build_dir: .vuepress/dist | ||
author: Wolfgang Huß <vorstand@busfaktor.org> | ||
fqdn: docs.ocelot.social | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: "frontend:deploy:chromatic" | ||
on: | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
build-and-deploy: | ||
name: Chromatic - Frontend | ||
runs-on: ubuntu-latest | ||
env: | ||
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
WORKING_DIRECTORY: ./frontend | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Frontend | Build | ||
run: npm install && npm run chromatic -- --exit-zero-on-changes | ||
working-directory: ${{env.WORKING_DIRECTORY}} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: "frontend:test:build test code" | ||
|
||
on: push | ||
|
||
jobs: | ||
# only (but most important) job from this workflow required for pull requests | ||
# check results serve as run conditions for all other jobs here | ||
files-changed: | ||
name: Detect File Changes - frontend-test-build-code | ||
runs-on: ubuntu-latest | ||
outputs: | ||
changes: ${{ steps.changes.outputs.frontend-test-build-code }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Check for frontend file changes | ||
uses: dorny/paths-filter@v3.0.1 | ||
id: changes | ||
with: | ||
token: ${{ github.token }} | ||
filters: .github/file-filters.yml | ||
list-files: shell | ||
|
||
build: | ||
if: needs.files-changed.outputs.changes == 'true' | ||
name: Build - Frontend | ||
needs: files-changed | ||
runs-on: ubuntu-latest | ||
env: | ||
WORKING_DIRECTORY: ./frontend | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Frontend | Build | ||
run: npm install && npm run build | ||
working-directory: ${{env.WORKING_DIRECTORY}} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: "frontend:test:build test docker" | ||
|
||
on: push | ||
|
||
jobs: | ||
# only (but most important) job from this workflow required for pull requests | ||
# check results serve as run conditions for all other jobs here | ||
files-changed: | ||
name: Detect File Changes - frontend-test-build-docker | ||
runs-on: ubuntu-latest | ||
outputs: | ||
changes: ${{ steps.changes.outputs.frontend-test-build-docker }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Check for frontend file changes | ||
uses: dorny/paths-filter@v3.0.1 | ||
id: changes | ||
with: | ||
token: ${{ github.token }} | ||
filters: .github/file-filters.yml | ||
list-files: shell | ||
|
||
build-production: | ||
if: needs.files-changed.outputs.changes == 'true' | ||
name: Build Docker Production - Frontend | ||
needs: files-changed | ||
runs-on: ubuntu-latest | ||
env: | ||
WORKING_DIRECTORY: ./frontend | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Frontend | Build Docker Production | ||
run: docker compose -f docker-compose.yml build | ||
working-directory: ${{env.WORKING_DIRECTORY}} | ||
|
||
build-development: | ||
if: needs.files-changed.outputs.changes == 'true' | ||
name: Build Docker Development - Frontend | ||
needs: files-changed | ||
runs-on: ubuntu-latest | ||
env: | ||
WORKING_DIRECTORY: ./frontend | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Frontend | Build Docker Development | ||
run: docker compose build | ||
working-directory: ${{env.WORKING_DIRECTORY}} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: "frontend:test:build test docs" | ||
|
||
on: push | ||
|
||
jobs: | ||
# only (but most important) job from this workflow required for pull requests | ||
# check results serve as run conditions for all other jobs here | ||
files-changed: | ||
name: Detect File Changes - frontend-test-build-docs | ||
runs-on: ubuntu-latest | ||
outputs: | ||
changes: ${{ steps.changes.outputs.frontend-test-build-docs }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Check for frontend file changes | ||
uses: dorny/paths-filter@v3.0.1 | ||
id: changes | ||
with: | ||
token: ${{ github.token }} | ||
filters: .github/file-filters.yml | ||
list-files: shell | ||
|
||
build: | ||
if: needs.files-changed.outputs.changes == 'true' | ||
name: Build Docs - Frontend | ||
needs: files-changed | ||
runs-on: ubuntu-latest | ||
env: | ||
WORKING_DIRECTORY: ./frontend | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Frontend | Build Docs | ||
run: npm install && npm run docs:build | ||
working-directory: ${{env.WORKING_DIRECTORY}} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: "frontend:test:build test storybook" | ||
|
||
on: push | ||
|
||
jobs: | ||
# only (but most important) job from this workflow required for pull requests | ||
# check results serve as run conditions for all other jobs here | ||
files-changed: | ||
name: Detect File Changes - frontend-test-build-storybook | ||
runs-on: ubuntu-latest | ||
outputs: | ||
changes: ${{ steps.changes.outputs.frontend-test-build-storybook }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Check for frontend file changes | ||
uses: dorny/paths-filter@v3.0.1 | ||
id: changes | ||
with: | ||
token: ${{ github.token }} | ||
filters: .github/file-filters.yml | ||
list-files: shell | ||
|
||
storybook: | ||
if: needs.files-changed.outputs.changes == 'true' | ||
name: Build Storybook - Frontend | ||
needs: files-changed | ||
runs-on: ubuntu-latest | ||
env: | ||
WORKING_DIRECTORY: ./frontend | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Frontend | Build Storybook | ||
run: npm install && npm run storybook:build | ||
working-directory: ${{env.WORKING_DIRECTORY}} |
Oops, something went wrong.