Merge pull request #50 from netz39/48-edit-page-on-github-link-broken

Revert "Merge pull request #46 from netz39/hotfix_jekyll-build-action"
This commit is contained in:
Max 2023-10-27 13:46:20 +02:00 committed by GitHub
commit e593e99b8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
# 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 with GitHub Pages dependencies preinstalled
on: on:
# Runs on pushes targeting the default branch # Runs on pushes targeting the default branch
@ -32,22 +32,14 @@ jobs:
# with: # with:
# include: "*" # include: "*"
# exclude: "" # exclude: ""
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
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
- name: Setup Pages - name: Setup Pages
id: pages
uses: actions/configure-pages@v3 uses: actions/configure-pages@v3
- name: Build with Jekyll - name: Build with Jekyll
# Outputs to the './_site' directory by default uses: actions/jekyll-build-pages@v1
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" with:
env: source: ./
JEKYLL_ENV: production destination: ./_site
- name: Upload artifact - name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v2 uses: actions/upload-pages-artifact@v2
# Deployment job # Deployment job