Merge pull request #258 from threefoldfoundation/development
autdep fix
This commit is contained in:
@@ -18,8 +18,7 @@ jobs:
|
|||||||
script: |
|
script: |
|
||||||
cd /opt/www_threefold_io/
|
cd /opt/www_threefold_io/
|
||||||
git log -1
|
git log -1
|
||||||
git restore config.toml
|
git restore .
|
||||||
git restore static/css/index.css
|
|
||||||
git pull
|
git pull
|
||||||
sed -i "s/https:\/\/www.threefold.io/https:\/\/www2.threefold.io/g" config.toml
|
sed -i "s/https:\/\/www.threefold.io/https:\/\/www2.threefold.io/g" config.toml
|
||||||
./build.sh
|
./build.sh
|
||||||
25
.github/workflows/tf_update_prod.yml
vendored
Normal file
25
.github/workflows/tf_update_prod.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: www.threefold_io
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [ master ]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
job_one:
|
||||||
|
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 restore .
|
||||||
|
git pull
|
||||||
|
sed -i "s/https:\/\/www2.threefold.io/https:\/\/www.threefold.io/g" config.toml
|
||||||
|
./build.sh
|
||||||
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -34,4 +34,3 @@ install*
|
|||||||
public
|
public
|
||||||
static/css
|
static/css
|
||||||
tailwindcss
|
tailwindcss
|
||||||
config.toml
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
# The URL the site will be built for
|
# The URL the site will be built for
|
||||||
base_url = "https://www.threefold.io"
|
base_url = "https://www2.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 = "ThreeFold"
|
title = "ThreeFold"
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user