File tree Expand file tree Collapse file tree 2 files changed +26
-7
lines changed Expand file tree Collapse file tree 2 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 1
- name : Test action
1
+ name : Sync with Panel
2
2
3
3
on :
4
4
push :
5
- branches : ["master"]
6
-
7
- workflow_dispatch :
5
+ branches :
6
+ - master
8
7
9
8
jobs :
10
- build :
9
+ sync :
11
10
runs-on : ubuntu-latest
12
11
steps :
13
- - name : Restart server
14
- uses :
hwalker928/[email protected]
12
+ - uses : hwalker928/ptero-gitsync@v1
15
13
with :
16
14
panel-url : ${{ secrets.PANEL_URL }}
17
15
api-key : ${{ secrets.API_KEY }}
Original file line number Diff line number Diff line change 3
3
ptero-gitsync is a GitHub Action for synchronizing a GitHub repository with a Pterodactyl® Panel server.
4
4
5
5
** Note:** ptero-gitsync is not affiliated with the Pterodactyl® Project.
6
+
7
+ ## Usage
8
+
9
+ ``` yml
10
+ name : Sync with Panel
11
+
12
+ on :
13
+ push :
14
+ branches :
15
+ - master
16
+
17
+ jobs :
18
+ sync :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : hwalker928/ptero-gitsync@v1
22
+ with :
23
+ panel-url : ${{ secrets.PANEL_URL }}
24
+ api-key : ${{ secrets.API_KEY }}
25
+ server-id : ${{ secrets.SERVER_ID }}
26
+ ` ` `
You can’t perform that action at this time.
0 commit comments