changed Repo Dispatch step values

- changed token value to use , so as to be both
more descriptive of exactly what it is used for, and also leave room for future
uses of the same token for different events (for example triggering a test workflow
on pushes or merges)

- changed repository reference to use context instead of hard coded value, to allow
workflows to work for users who fork
This commit is contained in:
Brian Vanderbusch committed 2020-08-14 09:54:10 -05:00
1 parent f79d217ffa
commit 5cd93e4e0f
1 file changed
+2 -2
+2 -2
View File
@@ -12,7 +12,7 @@ jobs:
- name: 🚀 Repository Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.DOCKER_ACCESS_TOKEN }}
repository: OctoPrint/docker
token: ${{ secrets.TRIGGER_DOCKER_RELEASE_TOKEN }}
repository: ${{ github.repository_owner }}/docker
event-type: octoprint-release
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}", "event-name": "${{ github.event_name }}", "event-type": "${{ github.event.action }}"}'