Update .gitea/workflows/deploy.yml
11ty build and deploy for work.suroh.tk / build-deploy (push) Failing after 21s Details

This commit is contained in:
suroh 2024-04-16 11:08:56 +00:00
parent f0bf48134c
commit d3fea6cff3
1 changed files with 4 additions and 4 deletions

View File

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