|
7 | 7 | - main |
8 | 8 | paths: |
9 | 9 | - 'docs/**' |
10 | | - - 'docs-astro/**' |
| 10 | + # - 'docs-astro/**' |
11 | 11 | - '.github/workflows/docs.yml' |
12 | 12 | pull_request: |
13 | 13 | paths: |
14 | 14 | - 'docs/**' |
15 | | - - 'docs-astro/**' |
| 15 | + # - 'docs-astro/**' |
16 | 16 | - '.github/workflows/docs.yml' |
17 | 17 | schedule: |
18 | 18 | - cron: "0 22 * * 1,2,3,4,5,6" |
@@ -97,28 +97,28 @@ jobs: |
97 | 97 | branch: main |
98 | 98 | gitHubToken: ${{ secrets.GITHUB_TOKEN }} |
99 | 99 |
|
100 | | - build-astro: |
101 | | - name: Build Astro Site |
102 | | - runs-on: ubuntu-latest |
103 | | - steps: |
104 | | - - name: Checkout repository |
105 | | - uses: actions/checkout@v4 |
106 | | - - name: Install, build, and upload Astro site |
107 | | - uses: withastro/action@v3 |
108 | | - with: |
109 | | - path: ./docs-astro |
110 | | - # node-version: 20 # Uncomment to specify Node version |
111 | | - # package-manager: pnpm@latest # Uncomment to specify package manager |
| 100 | + # build-astro: |
| 101 | + # name: Build Astro Site |
| 102 | + # runs-on: ubuntu-latest |
| 103 | + # steps: |
| 104 | + # - name: Checkout repository |
| 105 | + # uses: actions/checkout@v4 |
| 106 | + # - name: Install, build, and upload Astro site |
| 107 | + # uses: withastro/action@v3 |
| 108 | + # with: |
| 109 | + # path: ./docs-astro |
| 110 | + # # node-version: 20 # Uncomment to specify Node version |
| 111 | + # # package-manager: pnpm@latest # Uncomment to specify package manager |
112 | 112 |
|
113 | | - deploy-astro: |
114 | | - name: Deploy Astro to GitHub Pages |
115 | | - needs: build-astro |
116 | | - runs-on: ubuntu-latest |
117 | | - if: github.ref == 'refs/heads/main' |
118 | | - environment: |
119 | | - name: github-pages |
120 | | - url: ${{ steps.deployment.outputs.page_url }} |
121 | | - steps: |
122 | | - - name: Deploy to GitHub Pages |
123 | | - id: deployment |
124 | | - uses: actions/deploy-pages@v4 |
| 113 | + # deploy-astro: |
| 114 | + # name: Deploy Astro to GitHub Pages |
| 115 | + # needs: build-astro |
| 116 | + # runs-on: ubuntu-latest |
| 117 | + # if: github.ref == 'refs/heads/main' |
| 118 | + # environment: |
| 119 | + # name: github-pages |
| 120 | + # url: ${{ steps.deployment.outputs.page_url }} |
| 121 | + # steps: |
| 122 | + # - name: Deploy to GitHub Pages |
| 123 | + # id: deployment |
| 124 | + # uses: actions/deploy-pages@v4 |
0 commit comments