diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index aaa570b..a891788 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -8,12 +8,11 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - with: - repository: 'GiteaAdmin/hello_gitea' - path: 'hello_gitea' - token: ${{ secrets.GITEATOKEN }} - ref: ${{ github.ref }} + - name: Checkout repository + run: | + git clone https://oauth2:${{ secrets.GITEATOKEN }}@direct-dev.ru/gitea/GiteaAdmin/hello_gitea.git hello_gitea + cd hello_gitea + git checkout ${{ github.ref }} - name: Build run: |