diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4dda176..b2ca020 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,31 +1,34 @@ name: Deploy to GitHub Pages - + on: push: branches: - main - + permissions: contents: read pages: write id-token: write - + concurrency: group: "pages" cancel-in-progress: false - + jobs: build: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 with: - repository: 'Chris1320/SetupGuides-serve' + repository: "Chris1320/SetupGuides-serve" submodules: true fetch-depth: 0 # Fetch all history for git info - uses: actions/setup-node@v3 with: node-version: 18.14 + - name: Update submodules # Always get the latest contents + run: | + git submodule update --init --recursive --remote -f - name: Install Dependencies run: npm ci - name: Build Quartz @@ -34,7 +37,7 @@ jobs: uses: actions/upload-pages-artifact@v2 with: path: public - + deploy: needs: build environment: diff --git a/README.md b/README.md index 48830e5..afa455f 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,9 @@ alias: ----- -![GitHub Pages Deployment Status](https://img.shields.io/github/actions/workflow/status/Chris1320/SetupGuides/deploy.yml) +