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: on:
# Runs on pushes targeting the default branch # Runs on pushes targeting the default branch
push: push:
@ -33,13 +36,8 @@ jobs:
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v3 uses: actions/upload-pages-artifact@v3
with: with:
# Upload only the 'plugins' directory # Upload entire repository
path: 'plugins' path: '.'
name: 'plugins'
- name: Deploy to GitHub Pages - name: Deploy to GitHub Pages
id: deployment id: deployment
uses: actions/deploy-pages@v4 uses: actions/deploy-pages@v4
with:
# Path within the artifact to deploy
path: 'plugins'