ConnectForce/.woodpecker.yml

30 lines
571 B
YAML

pipeline:
install:
image: node
commands:
- npm install
build:
image: node
commands:
- npm run build
lint:
image: node
commands:
- npm run lint
publish:
image: plugins/gh-pages
environment:
PLUGIN_REMOTE_URL: git@github.zhaw.ch:thalmma5/ConnectForce.git
settings:
username: thalmma5
password:
from_secret:
github_token
ssh_key:
from_secret:
github_sshkey
target_branch: gh-pages
pages_directory: ./lib/static
when:
branch: main