Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Remove old data folder to not cause confusion #7

Remove old data folder to not cause confusion

Remove old data folder to not cause confusion #7

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