From accdd187a9a124e359b0863e3b2976a3e5dc05fc Mon Sep 17 00:00:00 2001 From: Opnxng Date: Wed, 21 Feb 2024 13:15:30 +0800 Subject: [PATCH] Fixed Wolfree --- .gitea/workflows/wolfree.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/wolfree.yaml b/.gitea/workflows/wolfree.yaml index 89f7599..600dcee 100644 --- a/.gitea/workflows/wolfree.yaml +++ b/.gitea/workflows/wolfree.yaml @@ -45,6 +45,9 @@ jobs: mkdir temp cd temp git clone ${REMOTE_REPO} . + # Temp workaround to upgrade to Docusaurus 3 + git fetch origin pull/4/head:temp + git checkout temp sed -i '/^RUN PATH="$HOME\/.cargo\/bin:$PATH" cargo run --manifest-path \.\/rust\/wolfree_libredirect_patch\/Cargo\.toml -- ;$/s/^#//' Dockerfile # Make Libredirect-compatible docker-buildx build \ --platform ${BUILD_PLATFORM} \ @@ -70,4 +73,4 @@ jobs: STORED_COMMIT=$(curl -H "Authorization: Bearer ${{ secrets.NT }}" -s "https://nt.opnxng.com/${REPO_NAME}/raw?poll=1" | tail -n 1) echo "STORED_COMMIT=${STORED_COMMIT}" >> "$GITHUB_ENV" exit 1 - fi \ No newline at end of file + fi