From 50648ea7a85840224c39901427750ed473a17739 Mon Sep 17 00:00:00 2001 From: stan-donarise Date: Thu, 21 Nov 2024 16:26:40 +0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 6203f51..5b7dece 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,8 +1,12 @@ -name: Deploy +name: $hyoo_studio + +# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#defining-access-for-the-github_token-permissions +permissions: write-all on: workflow_dispatch: push: + pull_request: schedule: - cron: "0 7 * * *" @@ -13,15 +17,11 @@ jobs: steps: - - name: Build app - uses: hyoo-ru/mam_build@master2 + - uses: hyoo-ru/mam_build@master2 with: - token: ${{ secrets.GH_PAT }} package: 'hyoo/studio' - - name: Deploy on GitHub Pages + - uses: hyoo-ru/gh-deploy@v4.4.1 if: github.ref == 'refs/heads/master' - uses: alex-page/blazing-fast-gh-pages-deploy@v1.1.0 with: - repo-token: ${{ secrets.GH_PAT }} - site-directory: 'hyoo/studio/-' + folder: 'hyoo/studio/-'