You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ what scripts were updated
57
57
* First, you'll want to create the secrets that will be needed for this to work. You can do this in the settings of your repository, you'll reference those secrets in the workflow file.
58
58
* Now create the workflow file in `.github/workflows/git2jamf.yml`
59
59
* You can use the example bellow as a basis(replace the secret values for the names of the ones you created).
60
-
* In this example, the action runs only when a push is sent to master and it's attempting to sync a folder called `scripts` at the root of the repository.
60
+
* In this example, the action runs only when a push is sent to main and it's attempting to sync a folder called `scripts` at the root of the repository.
61
61
* You can customize it further using githubs [workflow documentation](https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions)
62
62
63
63
**NOTE**: If possible, I recommend running this on a test instance first. If you can't, then try syncing just one folder with a small set of scripts so you can get a feel for how it works.
@@ -67,7 +67,7 @@ name: git2jamf
67
67
on:
68
68
push:
69
69
branches:
70
-
- master
70
+
- main
71
71
jobs:
72
72
jamf_scripts:
73
73
runs-on: ubuntu-latest
@@ -76,7 +76,7 @@ jobs:
76
76
- name: checkout
77
77
uses: actions/checkout@v3
78
78
- name: git2jamf
79
-
uses: jgarcesres/git2jamf@master
79
+
uses: jgarcesres/git2jamf@main
80
80
with:
81
81
jamf_url: ${{ secrets.jamf_test_url }}
82
82
jamf_username: ${{ secrets.jamf_test_username }}
@@ -86,14 +86,14 @@ jobs:
86
86
87
87
88
88
## Example usage with 2 instances
89
-
you would probably have 2 sets of secrets, with url and credentials for each instance(or share the same user creds across both servers). You also will need 2 workflow files: one for pushes to the master branch and another that goes to test.
89
+
you would probably have 2 sets of secrets, with url and credentials for each instance(or share the same user creds across both servers). You also will need 2 workflow files: one for pushes to the main branch and another that goes to test.
0 commit comments