Skip to content

add recipe for exec from terminal #49

add recipe for exec from terminal

add recipe for exec from terminal #49

Workflow file for this run

name: deploy python basics
on:
push:
branches: [ master ]
jobs:
build:
name: sphinx build
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v1
- name: build static html
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
make html
- name: copy to academis server
uses: appleboy/scp-action@master
with:
host: ${{ secrets.ACADEMIS_HOST }}
username: ${{ secrets.ACADEMIS_USERNAME }}
port: 22
key: ${{ secrets.SSH_PRIVATE_KEY }}
source: build/html/*
target: /www/academis/python_basics
rm: true
strip_components: 2