Skip to content

Commit

Permalink
add deploy step (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
larshp authored Mar 31, 2024
1 parent e787c05 commit 5d5818a
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion .github/workflows/build_web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: build_web
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
schedule:
- cron: '0 8 * * *'

Expand All @@ -16,4 +19,15 @@ jobs:
- run: npm ci
- run: npm run clone
- run: npm run unit
- run: npm run webpack:build
- run: npm run webpack:build
- name: deploy playground.abaplint.org
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main' && github.repository == 'abap2UI5/abap2UI5-web'
with:
deploy_key: ${{ secrets.DEPLOY_WEB }}
external_repository: abap2UI5/web-abap2ui5-samples
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
publish_branch: main
force_orphan: true
publish_dir: ./build

0 comments on commit 5d5818a

Please sign in to comment.