Skip to content

Commit

Permalink
ci(workflow): more fixes (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Sep 12, 2024
1 parent 85ba626 commit bf1be41
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read
Expand Down Expand Up @@ -38,12 +39,22 @@ jobs:
- name: Install ruby dependencies
run: |
bundle install
bundle exec appraisal install
- name: Setup Pages
id: configure-pages
uses: actions/configure-pages@v5

- name: Build
uses: actions/jekyll-build-pages@v1
- name: Setup CI config
run: |
echo "---" > _config_ci.yml
echo "baseurl: ${{ steps.configure-pages.outputs.base_path }}" >> _config_ci.yml
- name: Build site
env:
JEKYLL_ENV: production
run:
bundle exec appraisal jekyll build --future --config _config_ci.yml,_config.yml

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
Expand Down

0 comments on commit bf1be41

Please sign in to comment.