20 lines
314 B
YAML
20 lines
314 B
YAML
name: Deploy website
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: luare
|
|
steps:
|
|
- name: Deploy to caddy
|
|
run: |
|
|
eval "$(ssh-agent -s)"
|
|
trap 'eval $(ssh-agent -k)' EXIT
|
|
ssh-add - <<< "${{ secrets.SSH_KEY }}"
|
|
|
|
id
|
|
ls -lah .
|