OSDN Git Service

[fix] : Run deploy on other jobs
authorhayao <hayao@fascode.net>
Sat, 23 Oct 2021 06:46:51 +0000 (15:46 +0900)
committerhayao <hayao@fascode.net>
Sat, 23 Oct 2021 06:46:51 +0000 (15:46 +0900)
.github/workflows/hugo.yaml

index 64e0566..5a22d87 100644 (file)
@@ -41,6 +41,15 @@ jobs:
           publish_branch: gh-pages
           publish_dir: ./
 
+  main-repo:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout
+        uses: actions/checkout@v2
+        with:
+          submodules: true
+          fetch-depth: 0 
+      
       - name: Setup git repogitories
         env:
           GH_PAGES_REPO_DEPLOY_KEY: ${{ secrets.GH_PAGES_REPO_DEPLOY_KEY }}