diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index e87e82d..1a944d2 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -43,9 +43,7 @@ jobs: repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" fullrepo=https://${registry}/${repository}.git git init - git stash - git pull ${fullrepo} - git stash pop + # git pull ${fullrepo} npm install @angular/cli npm run lint - name: Update version @@ -60,7 +58,9 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" git config --local user.name "GitHub Actions Bot" # git checkout -- package-lock.json package.json + git stash git pull + git stash pop jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json package.json git add . git commit -m "Automated update by GitHub Actions"