Skip to content

Commit dea91ba

Browse files
committed
Update GH actions for v1.1.0
1 parent 59cbd39 commit dea91ba

File tree

6 files changed

+20
-15
lines changed

6 files changed

+20
-15
lines changed

.github/workflows/test-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Setup
2020
# ------------------------------------------------------------
2121
- name: Checkout repository
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323

2424
# ------------------------------------------------------------
2525
# Tests: Behaviour

.github/workflows/test-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Setup
2020
# ------------------------------------------------------------
2121
- name: Checkout repository
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323

2424
# ------------------------------------------------------------
2525
# Tests: Behaviour

.github/workflows/test-windows.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Setup
2020
# ------------------------------------------------------------
2121
- name: Checkout repository
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323

2424
# ------------------------------------------------------------
2525
# Tests: Behaviour

LICENSE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ MIT License
22

33
Copyright (c) 2017 cytopia
44

5+
Copyright (c) 2024-present nntoan
6+
57
Permission is hereby granted, free of charge, to any person obtaining a copy
68
of this software and associated documentation files (the "Software"), to deal
79
in the Software without restriction, including without limitation the rights

README.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
# watcherd
22

3-
![tag](https://img.shields.io/github/v/tag/devilbox/watcherd.svg?colorB=orange&sort=semver)
4-
[![linting](https://github.com/devilbox/watcherd/workflows/linting/badge.svg)](https://github.com/devilbox/watcherd/actions/workflows/linting.yml)
5-
[![test-linux](https://github.com/devilbox/watcherd/workflows/test-linux/badge.svg)](https://github.com/devilbox/watcherd/actions/workflows/test-linux.yml)
6-
[![test-macos](https://github.com/devilbox/watcherd/workflows/test-macos/badge.svg)](https://github.com/devilbox/watcherd/actions/workflows/test-macos.yml)
7-
[![test-windows](https://github.com/devilbox/watcherd/workflows/test-windows/badge.svg)](https://github.com/devilbox/watcherd/actions/workflows/test-windows.yml)
3+
![tag](https://img.shields.io/github/v/tag/devilbox-community/watcherd.svg?colorB=orange&sort=semver)
4+
[![linting](https://github.com/devilbox-community/watcherd/workflows/linting/badge.svg)](https://github.com/devilbox-community/watcherd/actions/workflows/linting.yml)
5+
[![test-linux](https://github.com/devilbox-community/watcherd/workflows/test-linux/badge.svg)](https://github.com/devilbox-community/watcherd/actions/workflows/test-linux.yml)
6+
[![test-macos](https://github.com/devilbox-community/watcherd/workflows/test-macos/badge.svg)](https://github.com/devilbox-community/watcherd/actions/workflows/test-macos.yml)
7+
[![test-windows](https://github.com/devilbox-community/watcherd/workflows/test-windows/badge.svg)](https://github.com/devilbox-community/watcherd/actions/workflows/test-windows.yml)
88
[![License](https://img.shields.io/badge/license-MIT-%233DA639.svg)](https://opensource.org/licenses/MIT)
99

1010

11-
**[watcherd](https://github.com/devilbox/watcherd/blob/master/bin/watcherd)** will look for directory changes (added and deleted directories) under the specified path (`-p`) and will execute specified commands or shell scripts (`-a`, `-d`) depending on the event.
11+
**[watcherd](https://github.com/devilbox-community/watcherd/blob/master/bin/watcherd)** will look for directory changes (added and deleted directories) under the specified path (`-p`) and will execute specified commands or shell scripts (`-a`, `-d`) depending on the event.
1212
Once all events have happened during one round (`-i`), a trigger command can be executed (`-t`).
1313
Note, the trigger command will only be execute when at least one add or delete command has succeeded with exit code 0.
1414

1515
---
1616

17-
If you need the same functionality to monitor changes of listening ports, check out **[watcherp](https://github.com/devilbox/watcherp)**.
17+
If you need the same functionality to monitor changes of listening ports, check out **[watcherp](https://github.com/devilbox-community/watcherd)**.
1818

1919
---
2020

2121
### Modes
2222

23-
**[watcherd](https://github.com/devilbox/watcherd/blob/master/bin/watcherd)** can either use the native [inotifywait](https://linux.die.net/man/1/inotifywait) implementation or if this is not available on your system use a custom bash implementation. The default is to use bash.
23+
**[watcherd](https://github.com/devilbox-community/watcherd/blob/master/bin/watcherd)** can either use the native [inotifywait](https://linux.die.net/man/1/inotifywait) implementation or if this is not available on your system use a custom bash implementation. The default is to use bash.
2424

2525
### Placeholders
2626

@@ -33,7 +33,7 @@ You can specify the placeholders as many times as you want. See the following ex
3333

3434
### Examples
3535

36-
By using **[vhost-gen](https://github.com/devilbox/vhost-gen)** (which is capable of creating Nginx or Apache vhost config files for normal vhosts or reverse proxies), the following will be able to create new nginx vhosts on-the-fly, simply by adding or deleting folders in your main www directory. The trigger command will simply force nginx to reload its configuration after directory changes occured.
36+
By using **[vhost-gen](https://github.com/devilbox-community/vhost-gen)** (which is capable of creating Nginx or Apache vhost config files for normal vhosts or reverse proxies), the following will be able to create new nginx vhosts on-the-fly, simply by adding or deleting folders in your main www directory. The trigger command will simply force nginx to reload its configuration after directory changes occured.
3737

3838
```shell
3939
# %n will be replaced by watcherd with the new directory name
@@ -96,4 +96,6 @@ Misc arguments:
9696

9797
**[MIT License](LICENSE)**
9898

99-
Copyright (c) 2017 [cytopia](https://github.com/cytopia)
99+
Copyright (c) 2017-2023 [cytopia](https://github.com/cytopia)
100+
101+
Copyright (c) 2024-present [nntoan](https://github.com/nntoan)

bin/watcherd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# The MIT License (MIT)
44
#
55
# Copyright (c) 2017 cytopia
6+
# Copyright (c) 2024-present nntoan
67
#
78

89
############################################################
@@ -26,8 +27,8 @@ IFS=$'\n'
2627
# Versioning
2728
MY_NAME="watcherd"
2829
MY_DATE="2023-03-01"
29-
MY_URL="https://github.com/devilbox/watcherd"
30-
MY_AUTHOR="cytopia <cytopia@everythingcli.org>"
30+
MY_URL="https://github.com/devilbox-community/watcherd"
31+
MY_AUTHOR="nntoan <devilbox@nntoan.com>"
3132
MY_GPGKEY="0xA02C56F0"
3233
MY_VERSION="1.1.0"
3334
MY_LICENSE="MIT"

0 commit comments

Comments
 (0)