Skip to content

Commit

Permalink
Merge pull request #17 from hyoo-ru/right-bind-as-no-val
Browse files Browse the repository at this point in the history
Update deploy.yml
  • Loading branch information
stan-donarise authored Nov 21, 2024
2 parents a38bc00 + 50648ea commit fc06359
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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 * * *"

Expand All @@ -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/[email protected]
if: github.ref == 'refs/heads/master'
uses: alex-page/[email protected]
with:
repo-token: ${{ secrets.GH_PAT }}
site-directory: 'hyoo/studio/-'
folder: 'hyoo/studio/-'

0 comments on commit fc06359

Please sign in to comment.