mounted volumes successfully
work.suroh.tk deploy / build-deploy (push) Failing after 25s Details

This commit is contained in:
suroh 2024-02-02 17:04:27 +01:00
parent 7ac8f5172f
commit e8b0b9a512
2 changed files with 4 additions and 22 deletions

View File

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

View File

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