mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2025-12-13 09:25:49 +00:00
Merge pull request #70 from IT4Change/lint+test-target
fix(workflow): lint readme & test target for workflows
This commit is contained in:
commit
ec1c50d083
1
.github/workflows/lint_pr.yml
vendored
1
.github/workflows/lint_pr.yml
vendored
@ -1,7 +1,6 @@
|
|||||||
name: "lint pull request CI"
|
name: "lint pull request CI"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
#pull_request:
|
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
|
|||||||
2
.github/workflows/test-build.yml
vendored
2
.github/workflows/test-build.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: build test CI
|
name: build test CI
|
||||||
|
|
||||||
on: pull_request_target
|
on: push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-test:
|
build-test:
|
||||||
|
|||||||
2
.github/workflows/test-lint.yml
vendored
2
.github/workflows/test-lint.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: lint test CI
|
name: lint test CI
|
||||||
|
|
||||||
on: pull_request_target
|
on: push
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-test:
|
build-test:
|
||||||
|
|||||||
@ -44,7 +44,7 @@ npm test
|
|||||||
|
|
||||||
## Deploy
|
## Deploy
|
||||||
|
|
||||||
You can use the webhook template `webhook.conf.template` and the `deploy.sh` script in `.github/webhooks/` to implement an automatic deployment from a (github) webhook.
|
You can use the webhook template `webhook.conf.template` and the `deploy.sh` script in `.github/webhooks/` for an automatic deployment from a (github) webhook.
|
||||||
|
|
||||||
For this to work follow these steps (using alpine):
|
For this to work follow these steps (using alpine):
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user