Skip to content

Commit

Permalink
deploy with actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ForrestFire0 committed Oct 8, 2024
1 parent 94d1f42 commit 8259538
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
id: deploy_to_pages

0 comments on commit 8259538

Please sign in to comment.