New Sample: Object Status (#402) #423
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
name: build_downport | |
on: | |
push: | |
branches: [main] | |
permissions: | |
contents: read | |
jobs: | |
build_downport: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- run: git clone https://github.com/abap2UI5/abap2UI5-setup.git && cp -r abap2UI5-setup/* . && npm i | |
- run: npm ci | |
- run: npm run downport_samples | |
- name: send to downport repository | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
external_repository: abap2UI5-downports/abap2UI5-samples | |
user_name: 'github-actions[bot]' | |
user_email: 'github-actions[bot]@users.noreply.github.com' | |
publish_branch: main | |
publish_dir: ./downport | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
destination_dir: src |