Skip to content

Merge pull request #10 from neopixl/feat/add-desc #23

Merge pull request #10 from neopixl/feat/add-desc

Merge pull request #10 from neopixl/feat/add-desc #23

Workflow file for this run

name: Deploy static content to Pages
on:
push:
branches: ["master"]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: rm -rf build
- run: npm ci
- run: npx aoe_technology_radar-buildRadar
env:
PUBLIC_URL: /tech-radar
- run: npx aoe_technology_radar-generateJson
env:
PUBLIC_URL: /tech-radar
- uses: actions/upload-artifact@v3
with:
name: tech-radar
path: build/
retention-days: 1
deploy:
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v3
with:
name: tech-radar
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: ./
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2