Add deploy
ci/woodpecker/push/woodpecker Pipeline failed Podrobnosti

This commit is contained in:
tree 2022-11-02 15:07:34 +01:00
rodič f19b7ff831
revize 2cc30de135
1 změnil soubory, kde provedl 18 přidání a 0 odebrání

18
.woodpecker.yml Normal file
Zobrazit soubor

@ -0,0 +1,18 @@
pipeline:
build_and_test:
image: node
commands:
- node --version
- npm ci
- npm run build
- npm run test
secrets: [AR]
deploy:
image: rclone/rclone
commands:
- "rclone sync build/ :sftp: --sftp-host frontier.gwei.cz --sftp-user eb2-faucet --sftp-port 2022 --sftp-pass $RCLONE_PASS -v"
secrets: [RCLONE_PASS]
when:
branch: [main]