From 60726c11ec5dced9eb8f37fd5d4d602f3e4b2b79 Mon Sep 17 00:00:00 2001 From: Haidong Xin Date: Mon, 30 Sep 2024 10:37:22 +0800 Subject: [PATCH] update github workflow --- .../workflows/{on-pull-request.yml => _on-pull-request.yml} | 0 .github/workflows/{on-push.yml => _on-push.yml} | 0 .github/workflows/{on-schedule.yaml => _on-schedule.yaml} | 0 .github/workflows/build-site.yaml | 5 +++++ 4 files changed, 5 insertions(+) rename .github/workflows/{on-pull-request.yml => _on-pull-request.yml} (100%) rename .github/workflows/{on-push.yml => _on-push.yml} (100%) rename .github/workflows/{on-schedule.yaml => _on-schedule.yaml} (100%) diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/_on-pull-request.yml similarity index 100% rename from .github/workflows/on-pull-request.yml rename to .github/workflows/_on-pull-request.yml diff --git a/.github/workflows/on-push.yml b/.github/workflows/_on-push.yml similarity index 100% rename from .github/workflows/on-push.yml rename to .github/workflows/_on-push.yml diff --git a/.github/workflows/on-schedule.yaml b/.github/workflows/_on-schedule.yaml similarity index 100% rename from .github/workflows/on-schedule.yaml rename to .github/workflows/_on-schedule.yaml diff --git a/.github/workflows/build-site.yaml b/.github/workflows/build-site.yaml index 6194c83..83f7ff6 100644 --- a/.github/workflows/build-site.yaml +++ b/.github/workflows/build-site.yaml @@ -8,6 +8,11 @@ on: # run if user manually requests it workflow_dispatch: + # push to dev branch + push: + branches: + - dev + # variables env: PREVIEWS_FOLDER: preview