Skip to content

Trying another html-to-pdf action #28

Trying another html-to-pdf action

Trying another html-to-pdf action #28

Workflow file for this run

name: CI/CD
on:
push:
branches: ["main"]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
- name: HTML to PDF
uses: ferdinandkeller/html-to-pdf-action@v1
with:
source-path: ./
destination-path: ./Eric-F-Olsen-Resume.pdf
- name: Deploy with SSH and rsync
uses: burnett01/rsync-deployments@7.0.1
with:
switches: -vr --delete-after --exclude .git/ --exclude .github/ --exclude .gitmodules --exclude LICENSE --exclude README.md
remote_path: /var/www/ericolsen.us/resume
remote_host: ${{ secrets.HOMESERVER_URL }}
remote_user: ${{ secrets.HOMESERVER_DEPLOY_USER }}
remote_key: ${{ secrets.HOMESERVER_DEPLOY_KEY }}
remote_key_pass: ${{ secrets.HOMESERVER_DEPLOY_PASS }}