Skip to content

Merge pull request #47 from deltachat-bot/rosano-patch-1 #46

Merge pull request #47 from deltachat-bot/rosano-patch-1

Merge pull request #47 from deltachat-bot/rosano-patch-1 #46

Workflow file for this run

name: Deploy Master Branch
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build the site in the jekyll/builder container
run: |
docker run \
-v ${{ github.workspace }}:/srv/jekyll -v ${{ github.workspace }}/_site:/srv/jekyll/_site \
jekyll/builder:latest /bin/bash -c "chmod 777 /srv/jekyll -R && jekyll build --future"
- name: Upload
uses: horochx/[email protected]
with:
user: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
host: "bots.delta.chat"
port: 22
local: "_site/*"
remote: "/var/www/html/bot"