Merge pull request #34 from spencerlepine/patch-1 #87
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |