Migrate to gitea-actions #8
1 changed files with 7 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue