Skip to content

Endre på areal for hver kvadrant (#1) #20

Endre på areal for hver kvadrant (#1)

Endre på areal for hver kvadrant (#1) #20

name: CD Github Pages
on:
push:
branches:
- main
jobs:
deploy-github-pages:
runs-on: ubuntu-latest
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: 'Checking Out Code'
uses: actions/checkout@v4
- name: 'Installing Dependencies'
uses: ./.github/actions/install
- name: 'Build'
run: pnpm --filter "capra-fagradar" build --base=/capra-fagradar/
- name: 'upload'
uses: actions/upload-pages-artifact@v3
with:
path: ./capra-fagradar/dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4