Skip to content

Commit

Permalink
Revert "Paddy testing his composite action (#26)"
Browse files Browse the repository at this point in the history
This reverts commit fab93cc.
  • Loading branch information
paddyroddy committed Nov 10, 2023
1 parent fab93cc commit 14724a3
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions .github/workflows/slides.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
branches:
- main
workflow_dispatch:
pull_request:

concurrency:
cancel-in-progress: true
Expand All @@ -18,8 +17,27 @@ jobs:
BUNDLE_GEMFILE: ${{ github.workspace }}/slides/Gemfile
runs-on: ubuntu-latest
steps:
- uses: paddyroddy/.github/actions/ruby/jekyll@v0
- name: Checkout source
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
docs-directory: slides
github-token: ${{ secrets.GITHUB_TOKEN }}
ruby-version: "3.2"
bundler-cache: true

- name: Install and Build
working-directory: ./slides
run: >-
JEKYLL_GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}
JEKYLL_ENV=production
bundle exec jekyll build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./slides/_site
publish_branch: gh-pages
user_name: github-actions[bot]
user_email: github-actions[bot]@users.noreply.github.com

0 comments on commit 14724a3

Please sign in to comment.