diff --git a/.gitea/workflows/convert-built-to-yml.yml b/.gitea/workflows/convert-built-to-yml.yml index a6202dd..4802061 100644 --- a/.gitea/workflows/convert-built-to-yml.yml +++ b/.gitea/workflows/convert-built-to-yml.yml @@ -24,19 +24,6 @@ jobs: firstString=${{ github.ref_name }} secondString="build-" echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/format-/"$secondString"} - - name: clone - run: | - git clone ${{ github.serverUrl }}/${{ github.repository }} ../cloned - mv ../cloned/.git .. - rm -rf ../cloned - cp -r . ../cloned - rm -rf ../cloned/.git - mv ../.git ../cloned - mv .git/config ../cloned/.git - rm -r ./* - rm -r .git - mv ../cloned/* . - mv ../cloned/.git . - name: GIT commit and push all changed files env: CI_COMMIT_MESSAGE: converted to yml for review. @@ -46,7 +33,6 @@ jobs: git config --global user.email "username@users.noreply.github.com" git checkout -b ${{ env.DEVELOPMENT_BRANCH }} git add -A - git status git commit -a -m "${{ env.CI_COMMIT_MESSAGE }} xml files converted to yml" git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }} #- name: push development