Fix syntax errors in sample configuration

This commit is contained in:
eikendev 2020-03-31 19:40:38 +02:00
parent 5937abe435
commit 234f9d8989
2 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,4 @@
name: Gotify Notification name: 'Gotify Notification'
on: [push] on: [push]
jobs: jobs:
build: build:
@ -8,7 +8,7 @@ jobs:
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/action-gotify@master uses: eikendev/action-gotify@master
env: env:
gotify_api_base: ${{ secrets.gotify_api_base }} gotify_api_base: '${{ secrets.gotify_api_base }}'
gotify_app_token: ${{ secrets.gotify_app_token }} gotify_app_token: '${{ secrets.gotify_app_token }}'
notification_title: 'Build Complete' notification_title: 'Build Complete'
notification_message: 'Your build was completed.' notification_message: 'Your build was completed.'

View file

@ -36,7 +36,7 @@ This action has no outputs.
Create a file `.github/workflows/main.yml` in your repository with the following contents. Create a file `.github/workflows/main.yml` in your repository with the following contents.
```yaml ```yaml
name: Gotify Notification name: 'Gotify Notification'
on: [push] on: [push]
jobs: jobs:
build: build:
@ -46,8 +46,8 @@ jobs:
- name: Gotify Notification - name: Gotify Notification
uses: eikendev/action-gotify@master uses: eikendev/action-gotify@master
env: env:
gotify_api_base: ${{ secrets.gotify_api_base }} gotify_api_base: '${{ secrets.gotify_api_base }}'
gotify_app_token: ${{ secrets.gotify_app_token }} gotify_app_token: '${{ secrets.gotify_app_token }}'
notification_title: 'Build Complete' notification_title: 'Build Complete'
notification_message: 'Your build was completed.' notification_message: 'Your build was completed.'
``` ```