Triggered workflow from github.tools.sap #55
Workflow file for this run
This file contains hidden or 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: Triggered workflow from wdf | |
| on: | |
| workflow_dispatch: | |
| inputs: | |
| event_type: | |
| description: 'Event type' | |
| required: false | |
| default: 'gh-page-build-on-infra' | |
| push: | |
| branches: [ "github_triggers_workflow"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo from GitHub Tools SAP | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: SapMachine/SapMachineIOPage | |
| token: ${{ secrets.GHE_PAT }} | |
| github-server-url: https://github.tools.sap | |
| ref: 'main' | |
| # Step 3: Show current directory | |
| - name: Print working directory | |
| run: pwd | |
| # Step 4: List directory contents (root) | |
| - name: List all files in root | |
| run: ls -la | |
| # Step 5: List directory contents of enterprise repo | |
| # - name: List all files in enterprise repo | |
| # run: ls -la SapMachineIOPage |