mirror of
https://github.com/abap2UI5/abap2UI5.git
synced 2025-04-29 02:58:20 +08:00
31 lines
724 B
YAML
31 lines
724 B
YAML
name: build_downport
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build_downport:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 10
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 20
|
|
- run: npm ci
|
|
- run: npm run downport
|
|
- name: send to downport repository
|
|
uses: peaceiris/actions-gh-pages@v3
|
|
with:
|
|
external_repository: abap2UI5/abap2UI5-downport
|
|
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
|