mirror of
https://github.com/tgorordo/titanic.caltech.edu.git
synced 2026-06-05 14:52:15 -07:00
add github deploy workflow
This commit is contained in:
parent
0cee74ff54
commit
f357d306fa
1 changed files with 22 additions and 0 deletions
22
.github/workflows/deploy.yml
vendored
Normal file
22
.github/workflows/deploy.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
name: Deploy to titanic.caltech.edu/~tgorordo
|
||||||
|
|
||||||
|
on: push
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
pandoc_index_and_deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
- name: Pandoc Compile `index.html`
|
||||||
|
uses: docker://pandoc/core:latest
|
||||||
|
with:
|
||||||
|
args: "--standalone --output=index.html README.md"
|
||||||
|
- name: SFTP Upload to `titanic.caltech.edu/tgorordo` in `~/public_html`
|
||||||
|
uses: wlixcc/SFTP-Deploy-Action@v1.2.6
|
||||||
|
with:
|
||||||
|
server: titanic.caltech.edu
|
||||||
|
username: tgorordo
|
||||||
|
password: ${{secrets.titanic_password}}
|
||||||
|
local_path: ./*
|
||||||
|
remote_path: ./public_html
|
||||||
Loading…
Add table
Add a link
Reference in a new issue