Skip to content

Commit fc35a23

Browse files
committed
[ci] deploy on lite.gephi.org
1 parent 74b030d commit fc35a23

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/deploy-app.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ jobs:
3939
- name: Copy gephi lite files
4040
run: cp -rf packages/gephi-lite/build/* website/v${{ env.PACKAGE_VERSION }}
4141

42+
- name: Copy CNAME files
43+
run: cp CNAME website/CNAME
44+
4245
- name: Create index page with redirection
4346
run: |
4447
cat <<EOF > website/index.html
@@ -47,15 +50,15 @@ jobs:
4750
<head>
4851
<meta charset="UTF-8">
4952
<noscript>
50-
<meta http-equiv="refresh" content="0; url=https://gephi.org/gephi-lite/v${{ env.PACKAGE_VERSION }}/">
53+
<meta http-equiv="refresh" content="0; url=https://lite.gephi.org/v${{ env.PACKAGE_VERSION }}/">
5154
</noscript>
5255
<script type="text/javascript">
53-
window.location.href = "https://gephi.org/gephi-lite/v${{ env.PACKAGE_VERSION }}/" + (window.location.search || '') + (window.location.hash || '')
56+
window.location.href = "https://lite.gephi.org/v${{ env.PACKAGE_VERSION }}/" + (window.location.search || '') + (window.location.hash || '')
5457
</script>
5558
<title>Page Redirection</title>
5659
</head>
5760
<body>
58-
If you are not redirected automatically, follow this <a href='https://gephi.org/gephi-lite/v${{ env.PACKAGE_VERSION }}/'>link</a>.
61+
If you are not redirected automatically, follow this <a href='https://lite.gephi.org/v${{ env.PACKAGE_VERSION }}/'>link</a>.
5962
</body>
6063
</html>
6164
EOF

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lite.gephi.org

0 commit comments

Comments
 (0)