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" },