From 8259538eb6a959477e156927dfbd711c98726bfd Mon Sep 17 00:00:00 2001 From: Forrest Milner Date: Tue, 8 Oct 2024 15:05:18 -0400 Subject: [PATCH] deploy with actions --- .github/workflows/deploy.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/deploy.yml 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