diff --git a/.github/workflows/update-repo.yml b/.github/workflows/update-repo.yml index 06a6c1a..9ca5a64 100644 --- a/.github/workflows/update-repo.yml +++ b/.github/workflows/update-repo.yml @@ -100,14 +100,14 @@ Server = https://repo.stuple.net/$arch EOF - # Append the date separately to avoid shell escaping issues inside the heredoc - sed -i "s/Automated by GitHub Actions/& • Last updated: $(date)/" index.html + # Safely inject the date after the file is created to avoid YAML parsing issues + sed -i "s|Automated by GitHub Actions|& • Last updated: $(date)|" index.html - name: Deploy and Fix Permissions run: |