From 61436263ad82a8fc6ccd2402448d186cc4dae381 Mon Sep 17 00:00:00 2001 From: uprightbass360 Date: Sat, 10 Jan 2026 17:19:32 -0500 Subject: [PATCH] fix: resolve YAML syntax errors in create-release workflow Replaced heredocs with echo statements to avoid YAML parsing issues. The YAML parser was interpreting markdown headings and other content within heredocs as YAML syntax, causing validation errors. Using grouped echo statements ({ echo ...; } > file) works correctly with GitHub Actions YAML parser while maintaining variable expansion. Also updated documentation to use generic placeholder (your-dockerhub-username) in examples instead of hardcoded username. --- .github/workflows/create-release.yml | 238 +++++++++++++-------------- docs/PREBUILT_IMAGES.md | 5 +- docs/RELEASES.md | 2 +- 3 files changed, 121 insertions(+), 124 deletions(-) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index b2a5ada..4ed703a 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -87,54 +87,54 @@ jobs: cp -r docs "${PACKAGE_NAME}/docs" # Create a quick start guide specific to this release - cat > "${PACKAGE_NAME}/QUICKSTART.md" < "${PACKAGE_NAME}/QUICKSTART.md" # Make scripts executable chmod +x "${PACKAGE_NAME}/deploy.sh" @@ -148,77 +148,77 @@ EOF - name: Generate release notes run: | - cat > release_notes.md < release_notes.md - name: Create GitHub Release uses: softprops/action-gh-release@v1 diff --git a/docs/PREBUILT_IMAGES.md b/docs/PREBUILT_IMAGES.md index f520cc1..bc3d743 100644 --- a/docs/PREBUILT_IMAGES.md +++ b/docs/PREBUILT_IMAGES.md @@ -48,11 +48,8 @@ cp .env.prebuilt .env Edit `.env` and set your Docker Hub username: ```bash -# Change this line: +# Change this line to your Docker Hub username: DOCKERHUB_USERNAME=your-dockerhub-username - -# To (example): -DOCKERHUB_USERNAME=uprightbass360 ``` ### 4. Optional: Customize Settings diff --git a/docs/RELEASES.md b/docs/RELEASES.md index 5079da6..f9c77f3 100644 --- a/docs/RELEASES.md +++ b/docs/RELEASES.md @@ -145,7 +145,7 @@ cd azerothcore-realmmaster-v1.0.0-realmmaster # 3. Configure nano .env.prebuilt -# Set: DOCKERHUB_USERNAME=uprightbass360 +# Set: DOCKERHUB_USERNAME=your-dockerhub-username # 4. Deploy mv .env.prebuilt .env