Update Pages starter workflows to use actions/configure-pages@v2
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ jobs:
|
|||||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v1
|
uses: actions/configure-pages@v2
|
||||||
with:
|
with:
|
||||||
# Automatically inject pathPrefix in your Gatsby configuration file.
|
# Automatically inject pathPrefix in your Gatsby configuration file.
|
||||||
#
|
#
|
||||||
|
|||||||
+1
-1
@@ -42,7 +42,7 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v1
|
uses: actions/configure-pages@v2
|
||||||
- name: Build with Hugo
|
- name: Build with Hugo
|
||||||
run: |
|
run: |
|
||||||
hugo \
|
hugo \
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v1
|
uses: actions/configure-pages@v2
|
||||||
- name: Build with Jekyll
|
- name: Build with Jekyll
|
||||||
uses: actions/jekyll-build-pages@v1
|
uses: actions/jekyll-build-pages@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
+2
-2
@@ -35,8 +35,8 @@ jobs:
|
|||||||
cache-version: 0 # Increment this number if you need to re-download cached gems
|
cache-version: 0 # Increment this number if you need to re-download cached gems
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v1
|
uses: actions/configure-pages@v2
|
||||||
- run: bundle exec jekyll build --baseurl ${{ steps.pages.outputs.base_path }} # defaults output to '/_site'
|
- run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" # defaults output to '/_site'
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1 # This will automatically upload an artifact from the '/_site' directory
|
uses: actions/upload-pages-artifact@v1 # This will automatically upload an artifact from the '/_site' directory
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -54,7 +54,7 @@ jobs:
|
|||||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v1
|
uses: actions/configure-pages@v2
|
||||||
with:
|
with:
|
||||||
# Automatically inject basePath in your Next.js configuration file and disable
|
# Automatically inject basePath in your Next.js configuration file and disable
|
||||||
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
|
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
|
||||||
|
|||||||
+1
-1
@@ -52,7 +52,7 @@ jobs:
|
|||||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v1
|
uses: actions/configure-pages@v2
|
||||||
with:
|
with:
|
||||||
# Automatically inject router.base in your Nuxt configuration file and set
|
# Automatically inject router.base in your Nuxt configuration file and set
|
||||||
# target to static (https://nuxtjs.org/docs/configuration-glossary/configuration-target/).
|
# target to static (https://nuxtjs.org/docs/configuration-glossary/configuration-target/).
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v1
|
uses: actions/configure-pages@v2
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user