easier example

This commit is contained in:
despiegk
2022-07-23 10:09:10 +02:00
parent 1202f807ef
commit 5ee6f8e0ff
92 changed files with 4469 additions and 1 deletions

17
.github/workflows/action.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
# On every push this script is executed
on: push
name: Build and deploy GH Pages
jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/development'
steps:
- name: checkout
uses: actions/checkout@v2
- name: build_and_deploy
uses: shalzz/zola-deploy-action@v0.14.1
env:
# Target branch
PAGES_BRANCH: gh-pages
# Provide personal access token
TOKEN: ${{ secrets.TOKEN }}

23
.github/workflows/tf_update.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
# name: Threefold_io
# on:
# push:
# branch: [ development ]
# jobs:
# job_one:
# name: Deploy
# runs-on: ubuntu-latest
# steps:
# - name: pushing latest change on www2.threefold.io
# uses: appleboy/ssh-action@master
# with:
# host: www2.threefold.io
# username: root
# key: ${{ secrets.TF_SECRET }}
# port: 22
# script: |
# cd /opt/www_threefold_io/
# git log -1
# git restore static/css/index.css
# git pull
# npm run build