diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index bc518fc..cae4a81 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -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 }}