try docker run action
This commit is contained in:
parent
3f351610c5
commit
9073df8de7
1 changed files with 7 additions and 7 deletions
|
@ -8,13 +8,13 @@ jobs:
|
||||||
runs-on: cth-ubuntu-latest
|
runs-on: cth-ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- run: |
|
- uses: addnab/docker-run-action@v3
|
||||||
ls -la /workspace/atomaka/atomaka.com
|
with:
|
||||||
docker run \
|
image: docker.atomaka.com/mdformat:latest
|
||||||
--rm \
|
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
|
||||||
--volume /workspace/atomaka/atomaka.com/:/data \
|
run: |
|
||||||
docker.atomaka.com/mdformat \
|
cd ${{ github.workspace }}
|
||||||
ls -la /data/
|
mdformat --check _posts/
|
||||||
build:
|
build:
|
||||||
runs-on: cth-ubuntu-latest
|
runs-on: cth-ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
Loading…
Reference in a new issue