Merge branch 'main' into main
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.
|
||||||
#
|
#
|
||||||
|
|||||||
+2
-2
@@ -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
|
||||||
env:
|
env:
|
||||||
# For maximum backward compatibility with Hugo modules
|
# For maximum backward compatibility with Hugo modules
|
||||||
@@ -51,7 +51,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
hugo \
|
hugo \
|
||||||
--minify \
|
--minify \
|
||||||
--baseURL ${{ steps.pages.outputs.base_url }}
|
--baseURL "${{ steps.pages.outputs.base_url }}/"
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
+12
-4
@@ -1,3 +1,8 @@
|
|||||||
|
# This workflow uses actions that are not certified by GitHub.
|
||||||
|
# They are provided by a third-party and are governed by
|
||||||
|
# separate terms of service, privacy policy, and support
|
||||||
|
# documentation.
|
||||||
|
|
||||||
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
|
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
|
||||||
name: Deploy Jekyll site to Pages
|
name: Deploy Jekyll site to Pages
|
||||||
|
|
||||||
@@ -28,19 +33,22 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Setup Ruby
|
- name: Setup Ruby
|
||||||
uses: ruby/setup-ruby@v1
|
uses: ruby/setup-ruby@0a29871fe2b0200a17a4497bae54fe5df0d973aa
|
||||||
with:
|
with:
|
||||||
ruby-version: '3.0' # Not needed with a .ruby-version file
|
ruby-version: '3.0' # Not needed with a .ruby-version file
|
||||||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
||||||
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'
|
- name: Build with Jekyll
|
||||||
|
# Outputs to the './_site' directory by default
|
||||||
|
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
|
||||||
env:
|
env:
|
||||||
JEKYLL_ENV: production
|
JEKYLL_ENV: production
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1 # This will automatically upload an artifact from the '/_site' directory
|
# Automatically uploads an artifact from the './_site' directory by default
|
||||||
|
uses: actions/upload-pages-artifact@v1
|
||||||
|
|
||||||
# Deployment job
|
# Deployment job
|
||||||
deploy:
|
deploy:
|
||||||
|
|||||||
+1
-2
@@ -53,8 +53,7 @@ jobs:
|
|||||||
node-version: "16"
|
node-version: "16"
|
||||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
uses: actions/configure-pages@v2
|
||||||
uses: actions/configure-pages@v1
|
|
||||||
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
-2
@@ -51,8 +51,7 @@ jobs:
|
|||||||
node-version: "16"
|
node-version: "16"
|
||||||
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
cache: ${{ steps.detect-package-manager.outputs.manager }}
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
uses: actions/configure-pages@v2
|
||||||
uses: actions/configure-pages@v1
|
|
||||||
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