update
Some checks are pending
www2.mycelium.threefold.io/ / Deploy (push) Waiting to run
www2.mycelium.threefold.io/ / Wait for Website Update (push) Blocked by required conditions
www2.mycelium.threefold.io/ / Check for Broken Links (push) Blocked by required conditions

This commit is contained in:
Ehab Hassan 2025-06-18 13:19:50 +03:00
parent cadfb59772
commit abb1996c42
5 changed files with 10 additions and 102 deletions

View File

@ -1,4 +1,4 @@
name: www2.threefold_io name: www2.mycelium.threefold.io/
on: on:
push: push:
branches: [ development ] branches: [ development ]
@ -11,16 +11,16 @@ jobs:
- name: pushing latest change on www2.threefold.io - name: pushing latest change on www2.threefold.io
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: dev.threefold.io host: www2.mycelium.threefold.io
username: webuser username: webuser
key: ${{ secrets.TF_SECRET }} key: ${{ secrets.TF_SECRET }}
port: 34022 port: 34022
script: | script: |
cd websites/www2/www_threefold_io/ cd websites/www2.mycelium.threefold.io/
git log -1 git log -1
git fetch git fetch
git reset --hard origin/development git reset --hard origin/development
sed -i "s/https:\/\/www.threefold.io/https:\/\/dev.threefold.io/g" config.toml sed -i "s/https:\/\/www.mycelium.threefold.io//https:\/\/www2.mycelium.threefold.io/g" config.toml
./build.sh ./build.sh
wait: wait:

View File

@ -8,19 +8,19 @@ jobs:
name: Deploy name: Deploy
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: pushing latest change on www.threefold.io - name: pushing latest change on www.mycelium.threefold.io
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:
host: www.threefold.io host: www.mycelium.threefold.io
username: root username: root
key: ${{ secrets.TF_SECRET }} key: ${{ secrets.TF_SECRET }}
port: 22 port: 22
script: | script: |
cd /opt/www_threefold_io/ cd /opt/www.mycelium.threefold.io/
git log -1 git log -1
git fetch git fetch
git reset --hard origin/master git reset --hard origin/master
sed -i "s/https:\/\/dev.threefold.io/https:\/\/www.threefold.io/g" config.toml sed -i "s/https:\/\/dev.threefold.io/https:\/\/www.mycelium.threefold.io/g" config.toml
./build.sh ./build.sh
wait: wait:
@ -43,4 +43,4 @@ jobs:
id: link-report id: link-report
uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest
with: with:
args: 'https://www.threefold.io -w 404' args: 'https://www.mycelium.threefold.io -w 404'

View File

@ -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'

View File

@ -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'

View File

@ -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;