-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (31 loc) · 1.14 KB
/
test-workflow.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: Use the action locally to test GH Action functionality
on:
push:
branches:
- main
workflow_dispatch:
jobs:
execute-action:
name: Use internal GH Action
runs-on: ubuntu-latest
environment: prod
steps:
- name: Create Medium Post with Publication
uses: philips-software/post-to-medium-action@main
with:
integration_token: "${{ secrets.INTEGRATION_TOKEN }}"
content: "Test content to see if publishing works from GH Action"
content_format: "markdown"
notify_followers: "false"
publication_name: "test-brend-publication"
tags: "test,tag"
title: "Test post via GH Actions to Medium"
- name: Create Medium Post with Author
uses: philips-software/post-to-medium-action@main
with:
integration_token: "${{ secrets.INTEGRATION_TOKEN }}"
content: "Test content to see if publishing works from GH Action"
content_format: "markdown"
notify_followers: "false"
tags: "test,tag"
title: "Test post via GH Actions to Medium"