# Cant find my checked out code after action ran

**URL:** <https://forum.gitea.com/t/cant-find-my-checked-out-code-after-action-ran/11319>\
**Category:** Actions\
**Created:** [May 26, 2025, 7:12am UTC](https://forum.gitea.com/t/cant-find-my-checked-out-code-after-action-ran/11319 "2025-05-26T07:12:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![64n35h4](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/64n35h4/32/6900_2.png) [@64n35h4](https://forum.gitea.com/u/64n35h4)\
**Post date:** [May 26, 2025, 7:12am UTC](https://forum.gitea.com/t/cant-find-my-checked-out-code-after-action-ran/11319/1 "2025-05-26T07:12:51Z")

</div>

Hi, I have a weird question..  
I have a gitea hosted server, and an act runner, and it seems to work fine… the problem is, that i cant find my checked out code after the action was ran.

but when i ssh into my runner, there is no folder `/home/runner/gitea_runner/work/b1d7eeeac0505dd3/hostexecutor`  
so I have no idea where the runner checks out my code? does it delete the folder once it’s done?  
it’s the same when the run is successful or failed.

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/f/f69fda9fe97541e1d0a84b53bde17a988a265f32.png)

How can i specify where the runner should checkout the code to? I’d like to have it simplified like check out to `/home/runner/repos/XYZ`

Coming from Github Actions, there the runner just clones the repo to \_work folder… I’m trying to achieve the same thing.

I’ve set this in the runner config.yml file

```auto
host:
   workdir_parent: /home/runner/gitea_runner/work

```

The action yaml file is:

```auto
name: Deploy Development

on:
  push:
    branches:
      - 'master'

env:
  DOCKER_COMPOSE_FILE: docker-compose.dev.yml

jobs:
  deploy:
    runs-on: self-hosted
    name: Deploy Development
    
    steps:
      - run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
      - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
      - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
      - name: Check out repository code
        uses: actions/checkout@v4
        with:
          clean: false
      - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
      - run: echo "🖥️ The workflow is now ready to test your code on the runner."
      - name: List files in the repository
        run: |
          ls ${{ gitea.workspace }}
      - name: show current directory
        run: |
          pwd
          ls -la
          find / -type f -name "this_is_very_unique_file.ts"
      - run: echo "🍏 This job's status is ${{ job.status }}."

Thank you.
```
