Commit 8c47051 1 parent b2c451b commit 8c47051 Copy full SHA for 8c47051
File tree 1 file changed +48
-0
lines changed
1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ # ################################################################################
2
+ # Copyright (c) 2024 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
3
+ #
4
+ # See the NOTICE file(s) distributed with this work for additional
5
+ # information regarding copyright ownership.
6
+ #
7
+ # This program and the accompanying materials are made available under the
8
+ # terms of the Apache License, Version 2.0 which is available at
9
+ # https://www.apache.org/licenses/LICENSE-2.0.
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13
+ # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14
+ # License for the specific language governing permissions and limitations
15
+ # under the License.
16
+ #
17
+ # SPDX-License-Identifier: Apache-2.0
18
+ # ################################################################################
19
+
20
+
21
+ ---
22
+ name : Publish JSON-LD context
23
+
24
+ on :
25
+ workflow_dispatch :
26
+ push :
27
+ branches : [ main ]
28
+ paths :
29
+ - ' extensions/common/api/management-api-json-ld-context/src/main/resources/document/**'
30
+
31
+ jobs :
32
+ build :
33
+ runs-on : ubuntu-latest
34
+ permissions :
35
+ contents : write
36
+ pages : write
37
+ steps :
38
+ - uses : actions/checkout@v4
39
+ - name : copy contexts into public folder
40
+ run : |
41
+ mkdir -p public/context
42
+ cp extensions/common/api/management-api-json-ld-context/src/main/resources/document/management-context-v1.jsonld public/context/
43
+ - name : deploy to gh-pages
44
+ uses : peaceiris/actions-gh-pages@v3
45
+ with :
46
+ github_token : ${{ secrets.GITHUB_TOKEN }}
47
+ publish_dir : ./public
48
+ keep_files : true
You can’t perform that action at this time.
0 commit comments