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
Hey there 👋 Love this project, so thank you for all that you do. Saves a lot of headache.
I think it could be really powerful to add direct support to run mark as a Github action via docker action. I've gone ahead and drafted up what that would look like below. Let me know if you'd like me to open a pull request!
# action.ymlname: 'mark'description: 'Tool for updating Atlassian Confluence pages from markdown.'branding:
icon: 'book-open'color: 'blue'inputs:
commands:
user:
description: 'The confluence user account'required: truedefault: ${{ .Env.MARK_PASS }}pass:
description: 'The confluence account password'required: truedefault: ${{ .Env.MARK_PASS }}url:
description: 'The url of the confluence account'required: truedefault: ${{ .Env.MARK_URL }}options:
description: 'The arguments to run'required: falsedefault: '--debug'runs:
using: 'docker'image: 'action.Dockerfile'args:
- -u "${{ inputs.commands.user }}" -p "${{inputs.commands.pass}}" -b "${{inputs.commands.url}}" ${{inputs.options}}
# action.Dockerfile# Container image that runs your codeFROM kovetskiy/mark
# Copies your code file from your action repository to the filesystem path `/` of the containerCOPY entrypoint.sh /entrypoint.sh
# Code file to execute when the docker container starts up (`entrypoint.sh`)ENTRYPOINT ["/entrypoint.sh"]
# entrypoint.sh#!/bin/sh -l
mark $1$2
The text was updated successfully, but these errors were encountered:
Hey there 👋 Love this project, so thank you for all that you do. Saves a lot of headache.
I think it could be really powerful to add direct support to run mark as a Github action via docker action. I've gone ahead and drafted up what that would look like below. Let me know if you'd like me to open a pull request!
The text was updated successfully, but these errors were encountered: