try docker run action
All checks were successful
Linting / build (pull_request) Successful in 20s
Linting / lint (pull_request) Successful in 26s

This commit is contained in:
Andrew Tomaka 2024-07-12 23:01:30 -04:00
parent 3f351610c5
commit 9073df8de7
Signed by: atomaka
GPG key ID: 61209BF70A5B18BE

View file

@ -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: