Skip to content

Update 2024-03-28-in-praise-of-rdf.md #118

Update 2024-03-28-in-praise-of-rdf.md

Update 2024-03-28-in-praise-of-rdf.md #118

Workflow file for this run

name: Build Astro
on:
push:
branches: ["master"]
pull_request:
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm i
- name: Build with Astro
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: dist
deploy:
if: github.event_name == 'push' && github.ref == 'refs/heads/master' || github.event_name == 'workflow_dispatch'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4