Skip to content

deploy

deploy #555

Workflow file for this run

name: deploy
on:
workflow_dispatch:
push:
pull_request:
schedule:
- cron: "0 7 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Build app
uses: hyoo-ru/mam_build@master2
with:
token: ${{ secrets.GH_PAT }}
package: 'hyoo/realworld'
- name: Deploy on GitHub Pages
if: github.ref == 'refs/heads/master'
uses: alex-page/[email protected]
with:
repo-token: ${{ secrets.GH_PAT }}
site-directory: 'hyoo/realworld/-'