This repository has been archived on 2026-01-05. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
www_threefold_io/.github/workflows/update_www3.yml
2023-06-13 10:06:37 +00:00

25 lines
598 B
YAML

name: www3.threefold_io
on:
push:
branches: [ 3.10.0 ]
jobs:
job_one:
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