Update woodpecker config

This commit is contained in:
Alexander Navarro 2023-11-25 16:53:22 -03:00
parent 7587732262
commit 0bf1e9dd92
2 changed files with 2 additions and 2 deletions

View file

@ -16,6 +16,7 @@ steps:
- apk add git openssh-client
- git config --global user.email "woodpecker@bot.net"
- git config --global user.name "woodpecker-bot"
- git remote add codeberg-ssh git@codeberg.org:aleidk/personal-page.git
- mkdir -p $HOME/.ssh
- ssh-keyscan -t rsa codeberg.org >> $HOME/.ssh/known_hosts
- echo "$CODEBERG_SSH_KEY" > $HOME/.ssh/id_rsa
@ -31,4 +32,4 @@ steps:
EOL
- pnpm install
- pnpm build
- pnpm run push-to-pages
- pnpm exec gh-pages --dist dist --branch pages --dotfiles --remote codeberg-ssh

View file

@ -6,7 +6,6 @@
"dev": "astro dev --port 3000",
"start": "astro dev",
"build": "astro build",
"push-to-pages": "gh-pages --dist dist --branch pages --dotfiles",
"preview": "astro preview",
"astro": "astro"
},