Fixes of newrelic docs #66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build+Deploy | |
on: | |
push: | |
branches: | |
- "master" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.11' | |
- name: Build | |
run: | | |
pip3 install mkdocs | |
pip3 install pymdown-extensions | |
mkdocs build | |
- name: Deploy | |
env: | |
SSHKEY: ${{ secrets.deploy_ssh_key }} | |
HOST: ssh.rosti.cz | |
PORT: 13640 | |
run: | | |
echo "$SSHKEY" > ssh.key | |
chmod 600 ssh.key | |
rsync -avz --delete -e "ssh -i ssh.key -oStrictHostKeyChecking=no -p $PORT" site/ app@$HOST:/srv/app/ |