diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 8a48ec9..1abc7ae 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -4,7 +4,7 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: - branches: ["main"] + branches: ["patch-1"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -22,7 +22,7 @@ concurrency: cancel-in-progress: false jobs: - # Single deploy job since we're just deploying + # Single deploy job deploy: environment: name: github-pages @@ -31,13 +31,27 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + + - name: Setup Jekyll + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.1' # Use the latest stable Ruby version + bundler-cache: true + + - name: Install Jekyll and Build + run: | + gem install jekyll + bundle install + jekyll build + - name: Setup Pages uses: actions/configure-pages@v5 + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: - # Upload entire repository - path: '.' + path: './_site' # Upload Jekyll's build output directory + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4 diff --git a/README.md b/README.md index 4f816a6..ff5361a 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # roothide.github.io RootHide's Repo - - ## about this repo