Skip to content

Commit

Permalink
github actions tweaks X
Browse files Browse the repository at this point in the history
  • Loading branch information
whatnotery committed Jul 17, 2024
1 parent 0918562 commit 0f2bea5
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/republish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ permissions:
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -32,7 +31,16 @@ jobs:
- name: Build Jekyll site
run: bundle exec jekyll build

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: github-pages
path: ./_site
deploy:
needs: build-and-deploy
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
with:
token: ${{ secrets.DARLING }}
github_token: ${{ secrets.DARLING }}

0 comments on commit 0f2bea5

Please sign in to comment.