diff --git a/.github/workflows/tf_update_dev.yml b/.github/workflows/tf_update_dev.yml deleted file mode 100644 index 6e82fe7..0000000 --- a/.github/workflows/tf_update_dev.yml +++ /dev/null @@ -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' \ No newline at end of file diff --git a/.github/workflows/tf_update_prod.yml b/.github/workflows/tf_update_prod.yml deleted file mode 100644 index 1e3595a..0000000 --- a/.github/workflows/tf_update_prod.yml +++ /dev/null @@ -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' \ No newline at end of file diff --git a/.github/workflows/update_dev2.yml b/.github/workflows/update_dev2.yml deleted file mode 100644 index fa19830..0000000 --- a/.github/workflows/update_dev2.yml +++ /dev/null @@ -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' diff --git a/.github/workflows/update_www3.yml b/.github/workflows/update_www3.yml deleted file mode 100644 index b6bc8f5..0000000 --- a/.github/workflows/update_www3.yml +++ /dev/null @@ -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' \ No newline at end of file