From f34bd1c57009025a53559246b2b1509bd2a306a7 Mon Sep 17 00:00:00 2001 From: aleidk Date: Sat, 25 Nov 2023 16:06:18 -0300 Subject: [PATCH] Update deploy script --- .woodpecker.yml | 9 +++------ package.json | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 2e5009d..882faa6 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -22,9 +22,6 @@ steps: build: image: codeberg.org/woodpecker-plugins/node-pm settings: - run: build - - publish: - image: codeberg.org/woodpecker-plugins/node-pm - settings: - run: exec gh-pages --dist dist --branch pages --dotfiles + run: + - build + - publish-to-pages diff --git a/package.json b/package.json index b7c5148..19acbfc 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "dev": "astro dev --port 3000", "start": "astro dev", "build": "astro build", - "deploy": "./deploy.sh", + "push-to-pages": "gh-pages --dist dist --branch pages --dotfiles", "preview": "astro preview", "astro": "astro" },