aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/update-submodule.yml26
1 files changed, 0 insertions, 26 deletions
diff --git a/.github/workflows/update-submodule.yml b/.github/workflows/update-submodule.yml
deleted file mode 100644
index 913de26..0000000
--- a/.github/workflows/update-submodule.yml
+++ /dev/null
@@ -1,26 +0,0 @@
-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
- git fetch --prune origin
- git switch -d origin/main
- cd "$(git rev-parse --show-superproject-working-tree)"
- git add vhosts/t/albatross
- git config user.name nsfisis
- git config user.email nsfisis@gmail.com
- git commit -m "[automated] Update 'vhosts/t/albatross' (${GITHUB_SHA})"
- git push origin main