diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..05ab3e9 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,20 @@ +name: Deploy to GitHub Pages + +on: + push: + branches: + - main # Trigger the action on push to the 'main' branch + +jobs: + # Build job + build: + runs-on: ubuntu-latest + environment: + name: demo + url: ${{ steps.deploy_to_pages.outputs.github_pages_url }} + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Vite Github Pages Deployer + uses: skywarth/vite-github-pages-deployer@v1.4.0 + id: deploy_to_pages \ No newline at end of file