updated workflow to be more generic
11ty build and deploy for ${{ gitea.workspace }} / build-deploy (push) Failing after 20s
Details
11ty build and deploy for ${{ gitea.workspace }} / build-deploy (push) Failing after 20s
Details
This commit is contained in:
parent
963a3d5cdd
commit
b4a0866cd9
|
@ -1,5 +1,5 @@
|
|||
name: work.suroh.tk deploy
|
||||
run-name: ${{ github.repository }} is being built and deployed
|
||||
name: 11ty build and deploy for ${{ gitea.workspace }}
|
||||
run-name: 11ty build and deploy for ${{ gitea.workspace }}
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
@ -15,7 +15,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Move to directory
|
||||
run: cd ${{ github.workspace }}
|
||||
run: cd ${{ gitea.workspace }}
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm i
|
||||
|
@ -27,7 +27,7 @@ jobs:
|
|||
run: if [ ! -d /www/work.suroh.tk ]; then mkdir /www/work.suroh.tk; fi
|
||||
|
||||
- name: Copy built website
|
||||
run: cp -r _site/. /www/work.suroh.tk/
|
||||
run: cp -r _site/. /www/${{ gitea.workspace }}
|
||||
|
||||
- name: Fix ownership
|
||||
run: chown -R www-data:www-data /www/work.suroh.tk/
|
||||
run: chown -R www-data:www-data /www/${{ gitea.workspace }}
|
||||
|
|
Loading…
Reference in New Issue