diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 6b8d8f3..2d749b2 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -7,6 +7,9 @@ on: jobs: build-deploy: runs-on: ubuntu-latest + container: + volumes: + - /var/www:/www steps: - name: Clone code to runner uses: actions/checkout@v4 @@ -21,4 +24,4 @@ jobs: run: npm run build - name: Copy built site to data folder - run: mkdir /data/work.suroh.tk && cp -r _site /data/work.suroh.tk + run: mkdir /www/work.suroh.tk && cp -r _site /data/work.suroh.tk diff --git a/.gitea/workflows/test-filesystem.yml b/.gitea/workflows/test-filesystem.yml deleted file mode 100644 index 0ae225e..0000000 --- a/.gitea/workflows/test-filesystem.yml +++ /dev/null @@ -1,21 +0,0 @@ -name: test filesystem mounting -on: push -jobs: - test-filesystem: - container: - volumes: - - /var/lib/gitea/act-runner/data:/tmp/data - - /var/www:/tmp/www - runs-on: ubuntu-latest - steps: - - name: Root filesystem - run: ls -lha / - - - name: Workspace filesystem - run: ls -lha /workspace - - - name: Mnt filesystem - run: ls -lha /mnt - - - name: Tmp filesystem - run: ls -lha /tmp