* update

* update
This commit is contained in:
oblomov-dev 2024-10-03 23:00:15 +02:00 committed by GitHub
parent e86f1c66da
commit c9a9ac3f88
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 43 additions and 4 deletions

View File

@ -1,4 +1,4 @@
name: build_downport name: build_bsp
on: on:
push: push:
@ -8,7 +8,7 @@ permissions:
contents: read contents: read
jobs: jobs:
test: build_bsp:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10 timeout-minutes: 10
steps: steps:
@ -16,13 +16,13 @@ jobs:
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 20 node-version: 20
- run: cd ci/app2bsp & npm i - run: cd ci/app2bsp
- run: node run.js - run: node run.js
- run: npm run build_bsp - run: npm run build_bsp
- name: send to bsp repository - name: send to bsp repository
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3
with: with:
external_repository: abap2UI5-downports/abap2UI5 external_repository: abap2UI5-connectors/fiori-launchpad-connector-onpremise
user_name: 'github-actions[bot]' user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com' user_email: 'github-actions[bot]@users.noreply.github.com'
publish_branch: main publish_branch: main

31
.github/workflows/build_webapp.yaml vendored Normal file
View File

@ -0,0 +1,31 @@
name: build_webapp
on:
push:
branches: [main]
permissions:
contents: read
jobs:
build_webapp:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- run: cd ci/app2bsp
- run: node run.js
- run: npm run build_bsp
- name: send to bsp repository
uses: peaceiris/actions-gh-pages@v3
with:
external_repository: abap2UI5-connectors/btp-connector
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
publish_branch: main
publish_dir: ./app/webapp
deploy_key: ${{ secrets.ACTIONS_WEBAPP_KEY }}
destination_dir: webapp

7
test Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW
QyNTUxOQAAACCHdJnQe5vbq/qN9M7S8J4sL5RGm23w1cPjsX+xkrMtjgAAAKCkkJrypJCa
8gAAAAtzc2gtZWQyNTUxOQAAACCHdJnQe5vbq/qN9M7S8J4sL5RGm23w1cPjsX+xkrMtjg
AAAEBDO7Jt5aMF1Eptz8P6sv0laflZfari1uMpSF0yvL8CB4d0mdB7m9ur+o30ztLwniwv
lEabbfDVw+Oxf7GSsy2OAAAAFnlvdXJfZW1haWxAZXhhbXBsZS5jb20BAgMEBQYH
-----END OPENSSH PRIVATE KEY-----

1
test.pub Normal file
View File

@ -0,0 +1 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIId0mdB7m9ur+o30ztLwniwvlEabbfDVw+Oxf7GSsy2O your_email@example.com