diff --git a/.github/workflows/build_bsp.yaml b/.github/workflows/build_bsp.yaml index 88b041f3..66786f99 100644 --- a/.github/workflows/build_bsp.yaml +++ b/.github/workflows/build_bsp.yaml @@ -1,4 +1,4 @@ -name: build_downport +name: build_bsp on: push: @@ -8,7 +8,7 @@ permissions: contents: read jobs: - test: + build_bsp: runs-on: ubuntu-latest timeout-minutes: 10 steps: @@ -16,13 +16,13 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 20 - - run: cd ci/app2bsp & npm i + - 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-downports/abap2UI5 + external_repository: abap2UI5-connectors/fiori-launchpad-connector-onpremise user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com' publish_branch: main diff --git a/.github/workflows/build_webapp.yaml b/.github/workflows/build_webapp.yaml new file mode 100644 index 00000000..6cdf00cb --- /dev/null +++ b/.github/workflows/build_webapp.yaml @@ -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 diff --git a/test b/test new file mode 100644 index 00000000..e3b8240a --- /dev/null +++ b/test @@ -0,0 +1,7 @@ +-----BEGIN OPENSSH PRIVATE KEY----- +b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW +QyNTUxOQAAACCHdJnQe5vbq/qN9M7S8J4sL5RGm23w1cPjsX+xkrMtjgAAAKCkkJrypJCa +8gAAAAtzc2gtZWQyNTUxOQAAACCHdJnQe5vbq/qN9M7S8J4sL5RGm23w1cPjsX+xkrMtjg +AAAEBDO7Jt5aMF1Eptz8P6sv0laflZfari1uMpSF0yvL8CB4d0mdB7m9ur+o30ztLwniwv +lEabbfDVw+Oxf7GSsy2OAAAAFnlvdXJfZW1haWxAZXhhbXBsZS5jb20BAgMEBQYH +-----END OPENSSH PRIVATE KEY----- diff --git a/test.pub b/test.pub new file mode 100644 index 00000000..c2de7a60 --- /dev/null +++ b/test.pub @@ -0,0 +1 @@ +ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIId0mdB7m9ur+o30ztLwniwvlEabbfDVw+Oxf7GSsy2O your_email@example.com