-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
92f433a
commit 827fdc3
Showing
1 changed file
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
name: Vite Github Pages Deploy | ||
# name: Vite Github Pages Deploy | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: ["main"] | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
# on: | ||
# # Runs on pushes targeting the default branch | ||
# push: | ||
# branches: ["main"] | ||
# # Allows you to run this workflow manually from the Actions tab | ||
# workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
contents: read | ||
pages: write | ||
id-token: write | ||
# # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
# permissions: | ||
# contents: read | ||
# pages: write | ||
# id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
# concurrency: | ||
# group: "pages" | ||
# cancel-in-progress: false | ||
|
||
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@master | ||
id: deploy_to_pages | ||
# 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@master | ||
# id: deploy_to_pages |