File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -16,20 +16,24 @@ This can introduce a number challenges one of which is maintaining consistency a
16
16
17
17
` github-deploy ` makes maintaining such configurations as easy as a single command.
18
18
19
+ ### Alais
20
+
21
+ ` gh-deploy `
22
+
19
23
20
24
## Usage
21
25
22
26
### Creating or Updating files on github
23
27
24
28
25
29
``` shell script
26
- github -deploy update --org [org] --token [PAT_TOKEN] --dest [LOCATION TO UPLOAD FILE] --source [SOURCE FILE LOCATION]
30
+ gh -deploy update --org [org] --token [PAT_TOKEN] --dest [LOCATION TO UPLOAD FILE] --source [SOURCE FILE LOCATION]
27
31
```
28
32
29
33
Example:
30
34
31
35
``` shell script
32
- github -deploy update --org tj-actions --token [PAT_TOKEN] --dest ' .github/workflows/auto-approve.yml' --source auto-approve.yml
36
+ gh -deploy update --org tj-actions --token [PAT_TOKEN] --dest ' .github/workflows/auto-approve.yml' --source auto-approve.yml
33
37
```
34
38
35
39
> NOTE: ` auto-approve.yml ` is located on your local system.
@@ -39,13 +43,13 @@ github-deploy update --org tj-actions --token [PAT_TOKEN] --dest '.github/workfl
39
43
40
44
41
45
``` shell script
42
- github -deploy delete --org [org] --token [PAT_TOKEN] --dest [LOCATION TO DELETE]
46
+ gh -deploy delete --org [org] --token [PAT_TOKEN] --dest [LOCATION TO DELETE]
43
47
```
44
48
45
49
Example:
46
50
47
51
``` shell script
48
- github -deploy delete --org tj-actions --token [PAT_TOKEN] --dest ' .github/auto-approve.yml'
52
+ gh -deploy delete --org tj-actions --token [PAT_TOKEN] --dest ' .github/auto-approve.yml'
49
53
```
50
54
51
55
You can’t perform that action at this time.
0 commit comments