From 5130cc6bc9b7346392efef54050a36b209cfc686 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 27 Jun 2025 10:57:58 +0200 Subject: [PATCH 1/4] fix single r to double r --- ct/jellyseerr.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/jellyseerr.sh b/ct/jellyseerr.sh index d16bf1e6f..e6f53c275 100644 --- a/ct/jellyseerr.sh +++ b/ct/jellyseerr.sh @@ -70,7 +70,7 @@ function update_script() { systemctl stop jellyseerr rm -rf dist .next node_modules export CYPRESS_INSTALL_BINARY=0 - cd /opt/jellyseer + cd /opt/jellyseerr $STD pnpm install --frozen-lockfile export NODE_OPTIONS="--max-old-space-size=3072" $STD pnpm build From 650a5f5df57991cac2e91e811d4a3ad1a312fc27 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Fri, 27 Jun 2025 10:58:20 +0200 Subject: [PATCH 2/4] fix single r to double r --- install/jellyseerr-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/jellyseerr-install.sh b/install/jellyseerr-install.sh index 50054b2fa..80733da9f 100644 --- a/install/jellyseerr-install.sh +++ b/install/jellyseerr-install.sh @@ -28,7 +28,7 @@ NODE_VERSION="22" NODE_MODULE="pnpm@$pnpm_desired" setup_nodejs msg_info "Installing Jellyseerr (Patience)" export CYPRESS_INSTALL_BINARY=0 -cd /opt/jellyseer +cd /opt/jellyseerr $STD pnpm install --frozen-lockfile export NODE_OPTIONS="--max-old-space-size=3072" $STD pnpm build From 03d2a76ff18fbfa3873fb3baec10112b2b5d1654 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com> Date: Fri, 27 Jun 2025 11:17:52 +0200 Subject: [PATCH 3/4] New workflow to push to gitea and change links (#5510) --- .github/workflows/push-to-gitea.yaml | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/push-to-gitea.yaml diff --git a/.github/workflows/push-to-gitea.yaml b/.github/workflows/push-to-gitea.yaml new file mode 100644 index 000000000..c6dd4eda1 --- /dev/null +++ b/.github/workflows/push-to-gitea.yaml @@ -0,0 +1,44 @@ +name: Sync to Gitea + +on: + push: + branches: + - main + +jobs: + sync: + if: github.repository == 'community-scripts/ProxmoxVE' + runs-on: ubuntu-latest + + steps: + - name: Checkout source repo + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Change all links to git.community-scripts.org + run: | + echo "Searching for files containing raw.githubusercontent.com URLs..." + + # Find all files containing GitHub raw URLs, excluding certain directories + files_with_github_urls=$(grep -r "https://raw.githubusercontent.com/community-scripts/ProxmoxVE" . --exclude-dir=.git --exclude-dir=node_modules --exclude-dir=.github/workflows --files-with-matches || true) + + if [ -n "$files_with_github_urls" ]; then + echo "$files_with_github_urls" | while read file; do + if [ -f "$file" ]; then + sed -i 's|https://raw\.githubusercontent\.com/community-scripts/ProxmoxVE/|https://git.community-scripts.org/community-scripts/ProxmoxVED/raw/branch/|g' "$file" + fi + done + else + echo "No files found containing GitHub raw URLs" + fi + + - name: Push to Gitea + run: | + git config --global user.name "Push From Github" + git config --global user.email "actions@github.com" + git remote add gitea https://$GITEA_USER:$GITEA_TOKEN@git.community-scripts.org/community-scripts/ProxmoxVE.git + git push gitea --all + env: + GITEA_USER: ${{ secrets.GITEA_USERNAME }} + GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} From 578d8067dcd3225cc961ad15876ac6e5e7439d45 Mon Sep 17 00:00:00 2001 From: "community-scripts-pr-app[bot]" <189241966+community-scripts-pr-app[bot]@users.noreply.github.com> Date: Fri, 27 Jun 2025 10:18:18 +0100 Subject: [PATCH 4/4] Update CHANGELOG.md (#5512) Co-authored-by: github-actions[bot] --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f8b30be18..8271fbde4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,12 @@ All LXC instances created using this repository come pre-installed with Midnight ## 2025-06-27 +### 🧰 Maintenance + + - #### 📂 Github + + - New workflow to push to gitea and change links to gitea [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#5510](https://github.com/community-scripts/ProxmoxVE/pull/5510)) + ## 2025-06-26 ### 🆕 New Scripts