diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 23867d8..162d5b8 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -35,11 +35,7 @@ jobs: buildkitd-flags: '--allow-insecure-entitlement network.host' driver-opts: network=host - name: Lint test - with: - username: ${{ secrets.PACKAGES_USER }} - password: ${{ secrets.PACKAGES_TOKEN }} run: | - echo ${{ secrets.PACKAGES_USER }} registry=${{ github.server_url }} registry=${registry##http*://} repository="$(echo "${{ github.repository }}" | tr '[:upper:]' '[:lower:]')" diff --git a/update-version.sh b/update-version.sh index 365549a..ea8c0ab 100644 --- a/update-version.sh +++ b/update-version.sh @@ -18,7 +18,7 @@ jq ".version = \"$new_version\"" package.json > temp.json && mv temp.json packag # Optional: Commit and tag # echo ${secrets.PACKAGES_USER} -# git config --global user.name ${{ secrets.PACKAGES_USER }} +git config --global user.name giteaAdmin git add package.json echo "adding succeeded" git commit -m "Bump version to $new_version"