diff --git a/.github/workflows/cfpages-deploy.yml b/.github/workflows/cfpages-deploy.yml index d767e4a..9fc839a 100644 --- a/.github/workflows/cfpages-deploy.yml +++ b/.github/workflows/cfpages-deploy.yml @@ -21,18 +21,22 @@ jobs: tar -xzf zola.tar.gz chmod +x zola mv zola /usr/local/bin/ + # 3. Initialize Submodules + - name: Initialize submodules + run: | + git submodule update --init --recursive - # 3. Build the site with Zola + # 4. Build the site with Zola - name: Build site with Zola run: | zola build --output-dir public - # 4. Install Wrangler CLI + # 5. Install Wrangler CLI - name: Install Wrangler run: | npm install -g @cloudflare/wrangler - # 5. Publish to Cloudflare Pages using Wrangler + # 6. Publish to Cloudflare Pages using Wrangler - name: Deploy to Cloudflare Pages env: CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}