From c132f1d80ae237453fd6b1aefe0cc28a352a0a01 Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Wed, 21 Feb 2024 11:24:05 +0100 Subject: [PATCH] Remove drone config and add gitignore --- .drone.yml | 34 ---------------------------------- .gitignore | 1 + 2 files changed, 1 insertion(+), 34 deletions(-) delete mode 100644 .drone.yml create mode 100644 .gitignore 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