Update static.yml

This commit is contained in:
Meekdai 2024-07-24 22:23:45 +08:00 committed by GitHub
parent b3ad18e700
commit ee38206dbb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,6 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
on:
# Runs on pushes targeting the default branch
push:
@ -33,13 +36,8 @@ jobs:
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
# Upload only the 'plugins' directory
path: 'plugins'
name: 'plugins'
# Upload entire repository
path: '.'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
with:
# Path within the artifact to deploy
path: 'plugins'