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
steps:
- uses: actions/checkout@v4
- run: |
ls -la /workspace/atomaka/atomaka.com
docker run \
--rm \
--volume /workspace/atomaka/atomaka.com/:/data \
docker.atomaka.com/mdformat \
ls -la /data/
- uses: addnab/docker-run-action@v3
with:
image: docker.atomaka.com/mdformat:latest
options: --volumes-from=${{ env.JOB_CONTAINER_NAME }}
run: |
cd ${{ github.workspace }}
mdformat --check _posts/
build:
runs-on: cth-ubuntu-latest
steps: