diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index b4c93d3..0000000 --- a/.drone.yml +++ /dev/null @@ -1,34 +0,0 @@ ---- -# ---------------------------------------------- -# -- Upload a newer version of my CV -# ---------------------------------------------- -kind: pipeline -type: docker -name: CV Builder - -trigger: - branch: - - main - event: - - push - -steps: - - name: Build the CV - image: ghcr.io/puppeteer/puppeteer - commands: - - cp -R ./* $HOME - - cd $HOME - - npm install md-to-pdf - - npx md-to-pdf index.md - - mkdir $DRONE_WORKSPACE/cv - - mv index.pdf $DRONE_WORKSPACE/cv/n.rodionov.pdf - - - name: Upload the CV - image: rclone/rclone:latest - environment: - RCLONE_CONFIG_CONTENT: - from_secret: RCLONE_CONFIG_CONTENT_PRIVATE - RCLONE_CONFIG: /tmp/rclone.conf - commands: - - echo "$RCLONE_CONFIG_CONTENT" > $RCLONE_CONFIG - - rclone copy -P $DRONE_WORKSPACE/cv badhouseplants-minio:/public-download diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..42c12b0 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +index.pdf