urmzd / embed-md Goto Github PK
View Code? Open in Web Editor NEWA GitHub action to simplify the process of embedding code into markdown files during CI/CD.
License: MIT License
A GitHub action to simplify the process of embedding code into markdown files during CI/CD.
License: MIT License
Hey @urmzd,
Thanks for creating this Github Action.
I tried to use it but I'm running into an error I was hoping you can help me with.
When executing Run urmzd/[email protected]
I get the following error :
/usr/bin/docker run --name c0442643e160ff2544d5f834adbbe709bd189_d0ace6 --label 6c0442 --workdir /github/workspace --rm -e "INPUT_MARKDOWN-FILES" -e "INPUT_COMMIT-MESSAGE" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/hcph-protocol/hcph-protocol":"/github/workspace" 6c0442:643e160ff2544d5f834adbbe709bd189 "synchronizing code in data-storage.md" "data-storage.md"
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "./src/entrypoint.sh": stat ./src/entrypoint.sh: no such file or directory: unknown.
time="2023-04-19T13:30:21Z" level=error msg="error waiting for container: context canceled"
The yml file I wrote to run the Github action is as follows:
name: Embed code in markdown
on:
push:
branches:
- mkdocs
- fix/refine_PACs_info
jobs:
embed-code:
runs-on: ubuntu-latest
steps:
- name: "Checkout current repo"
uses: actions/checkout@v3
- name: "Run entrypoint script."
uses: urmzd/[email protected]
id: "embed-code"
with:
markdown-files: "data-storage.md"
commit-message: "synchronizing code in data-storage.md"
Do you have an idea what's wrong ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.