aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-08 10:59:45 +0900
committernsfisis <nsfisis@gmail.com>2025-03-08 10:59:45 +0900
commit1574d6d2dea4f3d030e6f3f95dc09c2a35f28c71 (patch)
tree7261f592d848c0cbe1058d7677e14b2b1bc6ab7b /.github
parenta7ce31249948e4f0c1950de93f3c4f7cdda51cf4 (diff)
downloadiosdc-japan-2025-albatross-1574d6d2dea4f3d030e6f3f95dc09c2a35f28c71.tar.gz
iosdc-japan-2025-albatross-1574d6d2dea4f3d030e6f3f95dc09c2a35f28c71.tar.zst
iosdc-japan-2025-albatross-1574d6d2dea4f3d030e6f3f95dc09c2a35f28c71.zip
enable automatic deploy
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update-submodule.yml52
1 files changed, 26 insertions, 26 deletions
diff --git a/.github/workflows/update-submodule.yml b/.github/workflows/update-submodule.yml
index 833c781..d6db3a5 100644
--- a/.github/workflows/update-submodule.yml
+++ b/.github/workflows/update-submodule.yml
@@ -1,26 +1,26 @@
-# name: Update submodule
-# on:
-# push:
-# branches: [main]
-# jobs:
-# update-submodule:
-# runs-on: ubuntu-latest
-# steps:
-# - uses: actions/checkout@v2
-# with:
-# repository: nsfisis/nil.ninja
-# submodules: true
-# token: ${{ secrets.GH_PAT }}
-# path: nil.ninja
-#
-# - run: |
-# cd nil.ninja
-# cd vhosts/t/albatross-swift
-# git fetch --prune origin
-# git switch -d origin/main
-# cd "$(git rev-parse --show-superproject-working-tree)"
-# git add vhosts/t/albatross-swift
-# git config user.name nsfisis
-# git config user.email nsfisis@gmail.com
-# git commit -m "[automated] Update 'vhosts/t/albatross-swift' (${GITHUB_SHA})"
-# git push origin main
+name: Update submodule
+on:
+ push:
+ branches: [main]
+jobs:
+ update-submodule:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ repository: nsfisis/nil.ninja
+ submodules: true
+ token: ${{ secrets.GH_PAT }}
+ path: nil.ninja
+
+ - run: |
+ cd nil.ninja
+ cd vhosts/t/albatross-php-2025
+ git fetch --prune origin
+ git switch -d origin/main
+ cd "$(git rev-parse --show-superproject-working-tree)"
+ git add vhosts/t/albatross-swift
+ git config user.name nsfisis
+ git config user.email nsfisis@gmail.com
+ git commit -m "[automated] Update 'vhosts/t/albatross-php-2025' (${GITHUB_SHA})"
+ git push origin main