Skip to content

Commit 130e8d6

Browse files
committed
s3-mirror.yml: Render the markdown README to HTML before syncing files to S3
1 parent 5e981af commit 130e8d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/s3-mirror.yml

+5
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ jobs:
3636
with:
3737
fetch-depth: 0
3838

39+
- name: Render README.md to HTML
40+
run: |
41+
pip install markdown
42+
echo "<html><body>$(python -m markdown README.md)</body></html>" > README.html
43+
3944
- name: Sync the S3 bucket
4045
run: |
4146
./sync-s3.sh "$S3_BUCKET"

0 commit comments

Comments
 (0)