update
This commit is contained in:
10
.github/workflows/tf_update_prod.yml
vendored
10
.github/workflows/tf_update_prod.yml
vendored
@@ -8,19 +8,19 @@ jobs:
|
||||
name: Deploy
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: pushing latest change on www.threefold.io
|
||||
- name: pushing latest change on www.mycelium.threefold.io
|
||||
uses: appleboy/ssh-action@master
|
||||
with:
|
||||
host: www.threefold.io
|
||||
host: www.mycelium.threefold.io
|
||||
username: root
|
||||
key: ${{ secrets.TF_SECRET }}
|
||||
port: 22
|
||||
script: |
|
||||
cd /opt/www_threefold_io/
|
||||
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.threefold.io/g" config.toml
|
||||
sed -i "s/https:\/\/dev.threefold.io/https:\/\/www.mycelium.threefold.io/g" config.toml
|
||||
./build.sh
|
||||
|
||||
wait:
|
||||
@@ -43,4 +43,4 @@ jobs:
|
||||
id: link-report
|
||||
uses: docker://ghcr.io/threefoldfoundation/website-link-checker:latest
|
||||
with:
|
||||
args: 'https://www.threefold.io -w 404'
|
||||
args: 'https://www.mycelium.threefold.io -w 404'
|
||||
Reference in New Issue
Block a user