aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/update-submodule.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/update-submodule.yml')
-rw-r--r--.github/workflows/update-submodule.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/update-submodule.yml b/.github/workflows/update-submodule.yml
index 2c32a00..7ce099b 100644
--- a/.github/workflows/update-submodule.yml
+++ b/.github/workflows/update-submodule.yml
@@ -1,7 +1,8 @@
name: Update submodule
on:
push:
- branches: [disable-temporarily]
+ branches: [main]
+
jobs:
update-submodule:
runs-on: ubuntu-latest
@@ -15,12 +16,12 @@ jobs:
- run: |
cd nil.ninja
- cd vhosts/t/albatross-php-2026
+ cd services/albatross-php-2026
git fetch --prune origin
git switch -d origin/main
cd "$(git rev-parse --show-superproject-working-tree)"
- git add vhosts/t/albatross-php-2026
+ git add services/albatross-php-2026
git config user.name nsfisis
git config user.email nsfisis@gmail.com
- git commit -m "[automated] Update 'vhosts/t/albatross-php-2026' (${GITHUB_SHA})"
+ git commit -m "[automated] Update 'services/albatross-php-2026' (${GITHUB_SHA})"
git push origin main