Update .gitea/workflows/deploy.yml
11ty build and deploy for work.suroh.tk / build-deploy (push) Failing after 21s
Details
11ty build and deploy for work.suroh.tk / build-deploy (push) Failing after 21s
Details
This commit is contained in:
parent
f0bf48134c
commit
d3fea6cff3
|
@ -1,5 +1,5 @@
|
||||||
name: 11ty build and deploy for ${{ gitea.repository }}
|
name: 11ty build and deploy for work.suroh.tk
|
||||||
run-name: 11ty build and deploy for ${{ gitea.repository }}
|
run-name: 11ty build and deploy for work.suroh.tk
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -9,7 +9,7 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
volumes:
|
volumes:
|
||||||
- /var/www:/www
|
- /www:/www
|
||||||
steps:
|
steps:
|
||||||
- name: Clone code to runner
|
- name: Clone code to runner
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
@ -24,7 +24,7 @@ jobs:
|
||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
- name: Check folders
|
- name: Check folders
|
||||||
run: ls -lh /var
|
run: ls -lh /
|
||||||
|
|
||||||
- name: Create folder if needed
|
- name: Create folder if needed
|
||||||
run: if [ ! -d /www/${{ gitea.event.repository.name }} ]; then mkdir /www/${{ gitea.event.repository.name }}; fi
|
run: if [ ! -d /www/${{ gitea.event.repository.name }} ]; then mkdir /www/${{ gitea.event.repository.name }}; fi
|
||||||
|
|
Loading…
Reference in New Issue