Skip to content

Version mit neuen POS (#39) #72

Version mit neuen POS (#39)

Version mit neuen POS (#39) #72

Workflow file for this run

#name: Deploy on prod
#on:
# push:
# branches: ["master"]
#jobs:
# build:
# name: Build and Deploy
# runs-on: ubuntu-latest
# steps:
# - name: executing remote ssh commands using password
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.HOST }}
# username: ${{ secrets.USERNAME }}
# password: ${{ secrets.PASSWORD }}
# port: ${{ secrets.PORT }}
# debug: true
# script: whoami
#
# - name: 🛒 Checkout
# uses: actions/checkout@v2
#
# - name: ✨ Setup Hugo
# env:
# HUGO_VERSION: 0.111.3
# run: |
# mkdir ~/hugo
# cd ~/hugo
# curl -L "https://github.com/gohugoio/hugo/releases/download/v0.107.0/hugo_extended_0.107.0_Linux-64bit.tar.gz" --output hugo.tar.gz
# tar -xvzf hugo.tar.gz
# sudo mv hugo /usr/local/bin
#
# - name: 🛠️ Build
# run: hugo --source . --minify
#
# - name: 🔑 Install SSH Key
# run: |
# install -m 600 -D /dev/null ~/.ssh/id_rsa
# echo "${{ secrets.PRIVATE_SSH_KEY }}" > ~/.ssh/id_rsa
# echo "${{ secrets.KNOWN_HOSTS }}" > ~/.ssh/known_hosts
# rsync -avz --delete -e 'ssh' 'public/' '/usr/home/mi-labor/public_html_2/'