autdep fix

This commit is contained in:
peternashaat
2023-05-18 09:15:41 +00:00
parent 351ece3016
commit 7876caa320
5 changed files with 28 additions and 5 deletions

View File

@@ -18,8 +18,7 @@ jobs:
script: |
cd /opt/www_threefold_io/
git log -1
git restore config.toml
git restore static/css/index.css
git restore .
git pull
sed -i "s/https:\/\/www.threefold.io/https:\/\/www2.threefold.io/g" config.toml
./build.sh

25
.github/workflows/tf_update_prod.yml vendored Normal file
View 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
View File

@@ -34,4 +34,3 @@ install*
public
static/css
tailwindcss
config.toml

View File

@@ -1,5 +1,5 @@
# 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 .
title = "ThreeFold"

File diff suppressed because one or more lines are too long