remove github actions
This commit is contained in:
		
							
								
								
									
										46
									
								
								.github/workflows/tf_update_dev.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										46
									
								
								.github/workflows/tf_update_dev.yml
									
									
									
									
										vendored
									
									
								
							@@ -1,46 +0,0 @@
 | 
				
			|||||||
name: www2.mycelium.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: www2.mycelium.threefold.io
 | 
					 | 
				
			||||||
        username: webuser
 | 
					 | 
				
			||||||
        key: ${{ secrets.TF_SECRET }}
 | 
					 | 
				
			||||||
        port: 34022
 | 
					 | 
				
			||||||
        script: |
 | 
					 | 
				
			||||||
          cd websites/www2.mycelium.threefold.io/
 | 
					 | 
				
			||||||
          git log -1
 | 
					 | 
				
			||||||
          git fetch
 | 
					 | 
				
			||||||
          git reset --hard origin/development
 | 
					 | 
				
			||||||
          sed -i "s/https:\/\/www.mycelium.threefold.io//https:\/\/www2.mycelium.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.mycelium.threefold.io
 | 
					 | 
				
			||||||
      uses: appleboy/ssh-action@master
 | 
					 | 
				
			||||||
      with:
 | 
					 | 
				
			||||||
        host: www.mycelium.threefold.io
 | 
					 | 
				
			||||||
        username: root
 | 
					 | 
				
			||||||
        key: ${{ secrets.TF_SECRET }}
 | 
					 | 
				
			||||||
        port: 22
 | 
					 | 
				
			||||||
        script: |
 | 
					 | 
				
			||||||
          cd /opt/www.mycelium.threefold.io/
 | 
					 | 
				
			||||||
          git log -1
 | 
					 | 
				
			||||||
          git fetch
 | 
					 | 
				
			||||||
          git reset --hard origin/master
 | 
					 | 
				
			||||||
          sed -i "s/https:\/\/dev.threefold.io/https:\/\/www.mycelium.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.mycelium.threefold.io -w 404'
 | 
					 | 
				
			||||||
@@ -14,7 +14,7 @@ extra:
 | 
				
			|||||||
    image_src="/images/mycel_1.png",
 | 
					    image_src="/images/mycel_1.png",
 | 
				
			||||||
    image_alt="Mycelium Network Graphic",
 | 
					    image_alt="Mycelium Network Graphic",
 | 
				
			||||||
    title="MYCELIUM",
 | 
					    title="MYCELIUM",
 | 
				
			||||||
    subtitle="Unleashing the Power of Decentralized Networkssss",
 | 
					    subtitle="Unleashing the Power of Decentralized Networks",
 | 
				
			||||||
    description="Discover Mycelium, an end-to-end encrypted IPv6 overlay network. The future of secure, efficient, and scalable networking.",
 | 
					    description="Discover Mycelium, an end-to-end encrypted IPv6 overlay network. The future of secure, efficient, and scalable networking.",
 | 
				
			||||||
    highlight="Coming Soon: New Decentralized Features",
 | 
					    highlight="Coming Soon: New Decentralized Features",
 | 
				
			||||||
    button_text="Get Mycelium",
 | 
					    button_text="Get Mycelium",
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user