summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorYongDo-Hyun <97219311+YongDo-Hyun@users.noreply.github.com>2025-11-11 15:08:50 +0300
committerGitHub <noreply@github.com>2025-11-11 15:08:50 +0300
commitdd5457793bd396f4c225356e5e1b48a420086877 (patch)
tree1ace6bb32f9e4fd57bf528623b28eceb9981454c /.github
parent41e8ab185b0b534b4a36555a72a5a18d0e14a012 (diff)
downloadMeta-Launcher-dd5457793bd396f4c225356e5e1b48a420086877.tar.gz
Meta-Launcher-dd5457793bd396f4c225356e5e1b48a420086877.zip
Add GitHub Actions workflow for page build and deploy
Signed-off-by: YongDo-Hyun <97219311+YongDo-Hyun@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflow/build.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflow/build.yml b/.github/workflow/build.yml
new file mode 100644
index 000000000..dffefe41d
--- /dev/null
+++ b/.github/workflow/build.yml
@@ -0,0 +1,26 @@
+name: Build Pages by YDH
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v4
+
+ - name: Move directory
+ run: |
+ to_move=$(echo *)
+ mkdir -p _site/v1
+ mv $to_move _site/v1
+ cp .github/CNAME _site/CNAME
+
+ - name: Deploy
+ uses: peaceiris/actions-gh-pages@v4
+ with:
+ publish_dir: ./_site
+ github_token: ${{ secrets.GITHUB_TOKEN }}