Skip to content

Merge pull request #5 from dhdaines/dependabot/npm_and_yarn/types/geo… #10

Merge pull request #5 from dhdaines/dependabot/npm_and_yarn/types/geo…

Merge pull request #5 from dhdaines/dependabot/npm_and_yarn/types/geo… #10

Workflow file for this run

name: Build
on:
push:
branches:
- main
workflow_dispatch:
env:
CI: true
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Clone Repository
uses: actions/checkout@v3
- name: Set Node.js Version
uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Dependencies
run: npm ci
- name: Build
run: npx vite build --base=/zonalda/
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: 'dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2