Skip to content

Commit 4288eb4

Browse files
committed
testing
1 parent 1314ce3 commit 4288eb4

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/my-test.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Triggered workflow from github.tools.sap
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
event_type:
7+
description: 'Event type'
8+
required: false
9+
default: 'gh-page-build-on-infra'
10+
push:
11+
branches: [ "dummybranch"]
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repo from GitHub Tools SAP
17+
uses: actions/checkout@v4
18+
with:
19+
repository: SapMachine/SapMachineIOPage
20+
token: ${{ secrets.GHE_PAT }}
21+
github-server-url: https://github.tools.sap
22+
ref: 'main'
23+
24+
# - name: Sleep for 5 minutes
25+
# run: sleep 300
26+
27+
# Step 3: Show current directory
28+
- name: Print working directory
29+
run: pwd
30+
31+
# Step 4: List directory contents (root)
32+
- name: List all files in root
33+
run: ls -la
34+
35+
# Step 5: List directory contents of enterprise repo
36+
# - name: List all files in enterprise repo
37+
# run: ls -la SapMachineIOPage

0 commit comments

Comments
 (0)