Testing correct ref and removing old ssh check
Some checks failed
ci/woodpecker/push/test Pipeline failed
Some checks failed
ci/woodpecker/push/test Pipeline failed
This commit is contained in:
parent
b1558b518a
commit
430f73d63b
2 changed files with 1 additions and 5 deletions
|
|
@ -11,7 +11,3 @@ steps:
|
||||||
- npm ci
|
- npm ci
|
||||||
- npm run test:unit
|
- npm run test:unit
|
||||||
- npm run deploy
|
- npm run deploy
|
||||||
- name: deploy
|
|
||||||
image: kroniak/ssh-client
|
|
||||||
commands:
|
|
||||||
- ssh root@autobaan touch deploy
|
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ module.exports = {
|
||||||
production: {
|
production: {
|
||||||
user: 'root',
|
user: 'root',
|
||||||
host: ['autobaan'],
|
host: ['autobaan'],
|
||||||
ref: 'origin/main',
|
ref: 'deploy_test',
|
||||||
repo: 'https://fred.collinduncan.com/collin/autobaan.git',
|
repo: 'https://fred.collinduncan.com/collin/autobaan.git',
|
||||||
path: '/root/autobaan',
|
path: '/root/autobaan',
|
||||||
'post-deploy': 'npm install',
|
'post-deploy': 'npm install',
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue