Update .github/workflows/update-repo.yml
This commit is contained in:
6
.github/workflows/update-repo.yml
vendored
6
.github/workflows/update-repo.yml
vendored
@@ -100,14 +100,14 @@ Server = https://repo.stuple.net/$arch</pre>
|
||||
|
||||
<footer>
|
||||
<p><a href="./x86_64/">📁 Browse File Index</a></p>
|
||||
<p>Automated by GitHub Actions</p>
|
||||
<p id="update-tag">Automated by GitHub Actions</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
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: |
|
||||
|
||||
Reference in New Issue
Block a user