aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/update-submodule.yml.disabled
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-14 22:45:51 +0900
committernsfisis <nsfisis@gmail.com>2025-08-14 22:45:51 +0900
commit2cb998d18de1f5928a3b2c995ab5c2d32f22c898 (patch)
tree36af7c61fbf6992dcda1412e133e06eef209611b /.github/workflows/update-submodule.yml.disabled
parent4ad7b2e6d3a7246abd3c3961dd6e75502ed5295e (diff)
downloadiosdc-japan-2025-albatross-2cb998d18de1f5928a3b2c995ab5c2d32f22c898.tar.gz
iosdc-japan-2025-albatross-2cb998d18de1f5928a3b2c995ab5c2d32f22c898.tar.zst
iosdc-japan-2025-albatross-2cb998d18de1f5928a3b2c995ab5c2d32f22c898.zip
feat(ci): Disable GitHub Actions temporarily
Diffstat (limited to '.github/workflows/update-submodule.yml.disabled')
-rw-r--r--.github/workflows/update-submodule.yml.disabled26
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/update-submodule.yml.disabled b/.github/workflows/update-submodule.yml.disabled
new file mode 100644
index 0000000..cd13bd3
--- /dev/null
+++ b/.github/workflows/update-submodule.yml.disabled
@@ -0,0 +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-php-2025
+ git fetch --prune origin
+ git switch -d origin/main
+ cd "$(git rev-parse --show-superproject-working-tree)"
+ git add vhosts/t/albatross-php-2025
+ 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