This commit is contained in:
parent
d6d066c48e
commit
145ae8c561
@ -45,6 +45,9 @@ jobs:
|
|||||||
mkdir temp
|
mkdir temp
|
||||||
cd temp
|
cd temp
|
||||||
git clone ${REMOTE_REPO} .
|
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
|
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 \
|
docker-buildx build \
|
||||||
--platform ${BUILD_PLATFORM} \
|
--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)
|
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"
|
echo "STORED_COMMIT=${STORED_COMMIT}" >> "$GITHUB_ENV"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user