Skip to content

Remove non-functional Bitbucket link #43

Remove non-functional Bitbucket link

Remove non-functional Bitbucket link #43

Workflow file for this run

name: CI
on:
push:
branches:
- master
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Lektor
run: pip install lektor
- name: Build site
run: lektor build
- name: Add SSH key
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: |
mkdir -p /home/runner/.ssh
echo "${{ secrets.ACTIONS_DEPLOY_KEY }}" > /home/runner/.ssh/github_actions
chmod 600 /home/runner/.ssh/github_actions
ssh-agent -a $SSH_AUTH_SOCK > /dev/null
ssh-add /home/runner/.ssh/github_actions
- name: Deploy to GitHub Pages
env:
SSH_AUTH_SOCK: /tmp/ssh_agent.sock
run: lektor deploy ghpages