summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-02-19 20:08:45 +0100
committerSefa Eyeoglu <contact@scrumplex.net>2022-02-19 20:08:45 +0100
commit0bcf385904b22c2262e2c3c1f9ccee1d8d2081d8 (patch)
tree14af0bc4a4bc466e8127d3e9200b623d69acfe48 /.github
parentd0716084334f98905852a303dc1fc1f2948679d3 (diff)
downloadMeta-Launcher-0bcf385904b22c2262e2c3c1f9ccee1d8d2081d8.tar.gz
Meta-Launcher-0bcf385904b22c2262e2c3c1f9ccee1d8d2081d8.zip
feat: use own GH Action to deploy to Pages
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 000000000..f159bf953
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,25 @@
+name: Build Pages
+
+on:
+ push:
+ branches:
+ - master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Move directory
+ run: |
+ to_move=$(echo *)
+ mkdir -p _site/v1
+ mv "$to_move" _site/v1
+
+ - name: Deploy
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ publish_dir: ./_site
+ github_token: ${{ secrets.GITHUB_TOKEN }}