mounted volumes successfully
work.suroh.tk deploy / build-deploy (push) Failing after 25s
Details
work.suroh.tk deploy / build-deploy (push) Failing after 25s
Details
This commit is contained in:
parent
7ac8f5172f
commit
e8b0b9a512
|
@ -7,6 +7,9 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build-deploy:
|
build-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
volumes:
|
||||||
|
- /var/www:/www
|
||||||
steps:
|
steps:
|
||||||
- name: Clone code to runner
|
- name: Clone code to runner
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -21,4 +24,4 @@ jobs:
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Copy built site to data folder
|
- 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
|
||||||
|
|
|
@ -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
|
|
Loading…
Reference in New Issue