diff --git a/.drone.yml b/.drone.yml index 0ebafed..c6cb766 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,7 +2,7 @@ kind: pipeline name: create_pdf_release steps: - - name: copy_md + - name: copy_files image: appleboy/drone-scp settings: host: 192.168.10.5 @@ -11,10 +11,10 @@ steps: from_secret: ssh_password port: 22 target: /tmp/resumemd - source: ./Resume.md - source: ./config.js + source: config.js + source: Resume.md - - name: render_md + - name: convert image: appleboy/drone-ssh settings: host: 192.168.10.5 @@ -24,18 +24,8 @@ steps: port: 22 command_timeout: 2m script: - - cd /tmp/resumemd && md-to-pdf --config-file config.js Resume.md - - - name: get_pdf - image: appleboy/drone-scp - settings: - host: 192.168.10.5 - username: thomas - password: - from_secret: ssh_password - port: 22 - source: /tmp/resumemd/Resume.pdf - target: ./Resume.pdf + - /home/thomas/.nvm/versions/node/v17.4.0/bin/md-to-pdf + - name: gitea_release image: plugins/gitea-release