Skip to content

Commit 9243123

Browse files
authored
Merge pull request #45 from datum-cloud/fwidjaja-patch-3
GitHub Pages try out
2 parents ccf916d + 889b01a commit 9243123

15 files changed

+4635
-1549
lines changed

.github/workflows/deploy-pages.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- 'README.md'
8+
- 'docs/**'
9+
workflow_dispatch:
10+
11+
jobs:
12+
deploy:
13+
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
17+
steps:
18+
- name: Checkout
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Python
22+
uses: actions/setup-python@v5
23+
with:
24+
python-version: '3.11'
25+
26+
- name: Generate clouds.json from README
27+
run: |
28+
python scripts/parse_readme_to_json.py README.md docs/clouds.json
29+
30+
- name: Commit updated clouds.json
31+
run: |
32+
git config user.name "github-actions[bot]"
33+
git config user.email "github-actions[bot]@users.noreply.github.com"
34+
git add docs/clouds.json
35+
36+
# Only commit if there are changes
37+
if ! git diff --staged --quiet; then
38+
git commit -m "Auto-update clouds.json from README [skip ci]"
39+
git push
40+
else
41+
echo "No changes to clouds.json"
42+
fi

.github/workflows/handle-approvals.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/lint.yml

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/monitor-urls-weekly.yml

Lines changed: 0 additions & 60 deletions
This file was deleted.

README.md

Lines changed: 407 additions & 402 deletions
Large diffs are not rendered by default.

config/news_sources.json

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)