File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed
Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ name: Build and deploy sapmachine.io page
44on :
55 # Allows to run this workflow manually from the Actions tab
66 workflow_dispatch :
7-
8- # Listens to repository dispatch events, originating from pushes to the gh-pages branch in SAP/SapMachine-infrastructure
9- repository_dispatch :
10- types : [gh-page-build]
7+ inputs :
8+ event_type :
9+ description : ' Event type'
10+ required : false
11+ default : ' gh-page-build'
1112
1213# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
1314permissions :
@@ -26,11 +27,13 @@ jobs:
2627 build :
2728 runs-on : ubuntu-latest
2829 steps :
29- - name : Checkout
30- uses : actions/checkout@v4
30+ - name : Checkout repo from GitHub Tools SAP
31+ uses : actions/checkout@v5
3132 with :
32- repository : ' SAP/SapMachine-infrastructure'
33- ref : ' gh-pages'
33+ repository : SapMachine/SapMachineIOPage
34+ token : ${{ secrets.GHE_PAT }}
35+ github-server-url : https://github.tools.sap
36+ ref : ' main'
3437 - name : Setup Pages
3538 uses : actions/configure-pages@v5
3639 - name : Build with Jekyll
You can’t perform that action at this time.
0 commit comments