Skip to content

Commit

Permalink
try another github pages fix
Browse files Browse the repository at this point in the history
  • Loading branch information
spessasus committed May 17, 2024
1 parent e2081dd commit 483cc09
Showing 1 changed file with 15 additions and 23 deletions.
38 changes: 15 additions & 23 deletions .github/workflows/jekyll-gh-pages.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll with GitHub Pages dependencies preinstalled
# Simple workflow for deploying static content to GitHub Pages
name: Deploy SpesssaSynth Demo website

on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
branches: [$default-branch]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -22,31 +22,23 @@ concurrency:
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
lfs: true
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

# Deployment job
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
lfs: true
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v1

0 comments on commit 483cc09

Please sign in to comment.