~tcarrio/tom.carrio.dev

4165cea2f051a0663922e03309bc1100a714fc65 — Tom Carrio 7 months ago 2a24126
ci: update netlify references to directly call from node_modules
1 files changed, 4 insertions(+), 4 deletions(-)

M .build.yml
M .build.yml => .build.yml +4 -4
@@ 3,7 3,7 @@ packages:
  - libsass
  - sassc
  - nodejs
  - yarn
  - npm
sources:
  - https://git.sr.ht/~tcarrio/tom.carrio.dev
  - https://git.sr.ht/~tcarrio/build-helpers


@@ 16,7 16,7 @@ secrets:
tasks:
  - install_netlify: |
      yarn add netlify-cli
      yarn netlify --telemetry-disable
      ./node_modules/.bin/netlify --telemetry-disable
  - sass_build: |
      cd $project_dir
      mkdir -p assets/css


@@ 26,7 26,7 @@ tasks:
      cd $project_dir
      if compare_branch $trunk
      then
        yarn netlify deploy -d $deploy_dir --prod
        ../node_modules/.bin/netlify deploy -d $deploy_dir --prod
      else
        yarn netlify deploy -d $deploy_dir
        ../node_modules/.bin/netlify deploy -d $deploy_dir
      fi
\ No newline at end of file