Skip to content

Refactor: better usage of Liquid for handling tags #11

Refactor: better usage of Liquid for handling tags

Refactor: better usage of Liquid for handling tags #11

Workflow file for this run

name: build 11ty site
on:
push:
branches: ["main"]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Install dependencies
run: npm install
- name: Run fetchIssues script
run: node scripts/fetchIssues.js
env:
GH_AUTH: ${{ secrets.GH_AUTH }}
- name: Build site
run: npx @11ty/eleventy
- uses: actions/upload-pages-artifact@v2
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- id: deployment
uses: actions/deploy-pages@v2
with:
artifact_name: github-pages
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}