Skip to content

feat(blog): add amazon affiliate integration #87

feat(blog): add amazon affiliate integration

feat(blog): add amazon affiliate integration #87

Workflow file for this run

---
name: CI
permissions:
contents: read
on:
pull_request:
branches:
- master
types:
- opened
- synchronize
- reopened
push:
branches:
- master
concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
cancel-in-progress: true
jobs:
build:
name: Build Jekyll
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- name: Install dependencies
run: bundle install && bundle exec appraisal install
- name: Setup Pages
id: configure-pages
uses: actions/configure-pages@v5
- 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
JEKYLL_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PAGES_REPO_NWO: ${{ github.repository }}
run: bundle exec appraisal jekyll build --future --config _config_ci.yml,_config.yml
- name: Upload artifact
uses: actions/upload-pages-artifact@v4