Compare commits
8 Commits
developmen
...
479f73e813
Author | SHA1 | Date | |
---|---|---|---|
479f73e813 | |||
29b4ef8ef5 | |||
6d932a8c56 | |||
aa0914b765 | |||
4b4ccd7847 | |||
abb1996c42 | |||
cadfb59772 | |||
bccf58f8a9 |
46
.github/workflows/tf_update_dev.yml
vendored
46
.github/workflows/tf_update_dev.yml
vendored
@@ -1,46 +0,0 @@
|
|||||||
name: www2.threefold_io
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ development ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
name: Deploy
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: pushing latest change on www2.threefold.io
|
|
||||||
uses: appleboy/ssh-action@master
|
|
||||||
with:
|
|
||||||
host: dev.threefold.io
|
|
||||||
username: webuser
|
|
||||||
key: ${{ secrets.TF_SECRET }}
|
|
||||||
port: 34022
|
|
||||||
script: |
|
|
||||||
cd websites/www2/www_threefold_io/
|
|
||||||
git log -1
|
|
||||||
git fetch
|
|
||||||
git reset --hard origin/development
|
|
||||||
sed -i "s/https:\/\/www.threefold.io/https:\/\/dev.threefold.io/g" config.toml
|
|
||||||
./build.sh
|
|
||||||
|
|
||||||
wait:
|
|
||||||
needs: deploy
|
|
||||||
name: Wait for Website Update
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Wait Period
|
|
||||||
id: wait-deploy
|
|
||||||
run: |
|
|
||||||
echo "Sleeping for 30"
|
|
||||||
sleep 30
|
|
||||||
|
|
||||||
checklinks:
|
|
||||||
needs: wait
|
|
||||||
name: Check for Broken Links
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check for Broken Links
|
|
||||||
id: link-report
|
|
||||||
uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest
|
|
||||||
with:
|
|
||||||
args: 'https://www2.threefold.io -w 404'
|
|
46
.github/workflows/tf_update_prod.yml
vendored
46
.github/workflows/tf_update_prod.yml
vendored
@@ -1,46 +0,0 @@
|
|||||||
name: www.threefold_io
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ master ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
name: Deploy
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: pushing latest change on www.threefold.io
|
|
||||||
uses: appleboy/ssh-action@master
|
|
||||||
with:
|
|
||||||
host: www.threefold.io
|
|
||||||
username: root
|
|
||||||
key: ${{ secrets.TF_SECRET }}
|
|
||||||
port: 22
|
|
||||||
script: |
|
|
||||||
cd /opt/www_threefold_io/
|
|
||||||
git log -1
|
|
||||||
git fetch
|
|
||||||
git reset --hard origin/master
|
|
||||||
sed -i "s/https:\/\/dev.threefold.io/https:\/\/www.threefold.io/g" config.toml
|
|
||||||
./build.sh
|
|
||||||
|
|
||||||
wait:
|
|
||||||
needs: deploy
|
|
||||||
name: Wait for Website Update
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Wait Period
|
|
||||||
id: wait-deploy
|
|
||||||
run: |
|
|
||||||
echo "Sleeping for 30"
|
|
||||||
sleep 30
|
|
||||||
|
|
||||||
checklinks:
|
|
||||||
needs: wait
|
|
||||||
name: Check for Broken Links
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check for Broken Links
|
|
||||||
id: link-report
|
|
||||||
uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest
|
|
||||||
with:
|
|
||||||
args: 'https://www.threefold.io -w 404'
|
|
46
.github/workflows/update_dev2.yml
vendored
46
.github/workflows/update_dev2.yml
vendored
@@ -1,46 +0,0 @@
|
|||||||
name: www3.threefold_io
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ development_sasha ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
name: Deploy
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: pushing latest change on www3.threefold.io
|
|
||||||
uses: appleboy/ssh-action@master
|
|
||||||
with:
|
|
||||||
host: www3.threefold.io
|
|
||||||
username: webuser
|
|
||||||
key: ${{ secrets.TF_SECRET }}
|
|
||||||
port: 34022
|
|
||||||
script: |
|
|
||||||
cd websites/tmp/www_threefold_io/
|
|
||||||
git log -1
|
|
||||||
git restore .
|
|
||||||
git pull
|
|
||||||
sed -i "s/https:\/\/dev.threefold.io/https:\/\/dev2.threefold.io/g" config.toml
|
|
||||||
bash build.sh
|
|
||||||
|
|
||||||
wait:
|
|
||||||
needs: deploy
|
|
||||||
name: Wait for Website Update
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Wait Period
|
|
||||||
id: wait-deploy
|
|
||||||
run: |
|
|
||||||
echo "Sleeping for 30"
|
|
||||||
sleep 30
|
|
||||||
|
|
||||||
checklinks:
|
|
||||||
needs: wait
|
|
||||||
name: Check for Broken Links
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check for Broken Links
|
|
||||||
id: link-report
|
|
||||||
uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest
|
|
||||||
with:
|
|
||||||
args: 'https://www3.threefold.io -w 404'
|
|
46
.github/workflows/update_www3.yml
vendored
46
.github/workflows/update_www3.yml
vendored
@@ -1,46 +0,0 @@
|
|||||||
name: www3.threefold_io
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ 3.10.0 ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
name: Deploy
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: pushing latest change on www3.threefold.io
|
|
||||||
uses: appleboy/ssh-action@master
|
|
||||||
with:
|
|
||||||
host: www3.threefold.io
|
|
||||||
username: webuser
|
|
||||||
key: ${{ secrets.TF_SECRET }}
|
|
||||||
port: 34022
|
|
||||||
script: |
|
|
||||||
cd websites/www3/www_threefold_io/
|
|
||||||
git log -1
|
|
||||||
git restore .
|
|
||||||
git pull
|
|
||||||
sed -i "s/https:\/\/www.threefold.io/https:\/\/www3.threefold.io/g" config.toml
|
|
||||||
bash build.sh
|
|
||||||
|
|
||||||
wait:
|
|
||||||
needs: deploy
|
|
||||||
name: Wait for Website Update
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Wait Period
|
|
||||||
id: wait-deploy
|
|
||||||
run: |
|
|
||||||
echo "Sleeping for 30"
|
|
||||||
sleep 30
|
|
||||||
|
|
||||||
checklinks:
|
|
||||||
needs: wait
|
|
||||||
name: Check for Broken Links
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- name: Check for Broken Links
|
|
||||||
id: link-report
|
|
||||||
uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest
|
|
||||||
with:
|
|
||||||
args: 'https://www3.threefold.io -w 404'
|
|
@@ -17,7 +17,7 @@ Mycelium is a decentralized networking and storage solution designed to integrat
|
|||||||
|
|
||||||
### **Clone the Repository**
|
### **Clone the Repository**
|
||||||
```sh
|
```sh
|
||||||
git clone https://git.ourworld.tf/ourworld_web/www_mycelium.git
|
git clone https://git.threefold.info/ourworld_web/www_mycelium.git
|
||||||
cd www_mycelium
|
cd www_mycelium
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -36,7 +36,7 @@ This will generate and serve the website for preview.
|
|||||||
|
|
||||||
## 📌 **Issues & Contributions**
|
## 📌 **Issues & Contributions**
|
||||||
Report bugs or suggest improvements in the issue tracker:
|
Report bugs or suggest improvements in the issue tracker:
|
||||||
🔗 [Issue Tracker](https://git.ourworld.tf/tfgrid/circle_web_presence/issues)
|
🔗 [Issue Tracker](https://git.threefold.info/tfgrid/circle_web_presence/issues)
|
||||||
|
|
||||||
## 📜 **License**
|
## 📜 **License**
|
||||||
This project is open-source and licensed under [insert applicable license].
|
This project is open-source and licensed under [insert applicable license].
|
||||||
|
2
build.sh
2
build.sh
@@ -44,3 +44,5 @@ echo "Compiling tailwindcss and building zola project..."
|
|||||||
rm -rf public static/css
|
rm -rf public static/css
|
||||||
./tailwindcss -i css/index.css -o ./static/css/index.css --minify
|
./tailwindcss -i css/index.css -o ./static/css/index.css --minify
|
||||||
zola --root $ABS_DIR_OF_SCRIPT build
|
zola --root $ABS_DIR_OF_SCRIPT build
|
||||||
|
|
||||||
|
rsync -rav --delete public/ ${HOME}/hero/var/www/mycelium/
|
@@ -1,5 +1,5 @@
|
|||||||
# The URL the site will be built for
|
# The URL the site will be built for
|
||||||
base_url = "https://www3.mycelium.threefold.io/"
|
base_url = "https://www2.mycelium.threefold.io/"
|
||||||
# Change this to your own URL! Please note this variable **must** be uncommented .
|
# Change this to your own URL! Please note this variable **must** be uncommented .
|
||||||
|
|
||||||
title = "Mycelium"
|
title = "Mycelium"
|
||||||
|
@@ -5,8 +5,8 @@ description: "Mycelium is a decentralized networking and storage solution design
|
|||||||
#updated: 2021-02-20T14:40:00-06:00
|
#updated: 2021-02-20T14:40:00-06:00
|
||||||
draft: false
|
draft: false
|
||||||
extra:
|
extra:
|
||||||
author: ThreeFold
|
author: Mycelium
|
||||||
imgPath: home/tf.png
|
imgPath: home/mycel2.png
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
@@ -3,7 +3,7 @@ title: "Mycelium"
|
|||||||
description: "Mycelium is a decentralized networking and storage solution designed to integrate seamlessly with AI workloads, content delivery, and messaging."
|
description: "Mycelium is a decentralized networking and storage solution designed to integrate seamlessly with AI workloads, content delivery, and messaging."
|
||||||
insert_anchor_links: "left"
|
insert_anchor_links: "left"
|
||||||
extra:
|
extra:
|
||||||
author: ThreeFold
|
author: Mycelium
|
||||||
imgPath: home/mycel2.png
|
imgPath: home/mycel2.png
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@@ -259,7 +259,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.active{
|
.active{
|
||||||
color: rgb(100, 100, 100) !important;
|
color: rgb(144 143 143) !important
|
||||||
}
|
}
|
||||||
.nav_btn:hover {
|
.nav_btn:hover {
|
||||||
color: #c7c7c7 !important;
|
color: #c7c7c7 !important;
|
||||||
|
Reference in New Issue
Block a user