mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 14:45:49 +01:00
fix: Add path filters and fix env placement in docs workflow
- Add path filters to only trigger on docs/** changes - Remove incorrectly placed GH_TOKEN env variable - This should make the workflow trigger properly
This commit is contained in:
parent
3c78e45426
commit
af2f054813
1 changed files with 5 additions and 4 deletions
9
.github/workflows/v3-docs.yml
vendored
9
.github/workflows/v3-docs.yml
vendored
|
|
@ -2,9 +2,12 @@ name: Deploy to GitHub Pages
|
|||
|
||||
on:
|
||||
# Trigger the workflow every time you push to the `main` branch
|
||||
# Using a different branch name? Replace `main` with your branch’s name
|
||||
# Using a different branch name? Replace `main` with your branch's name
|
||||
push:
|
||||
branches: [v3-alpha]
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- '.github/workflows/v3-docs.yml'
|
||||
# Allows you to run this workflow manually from the Actions tab on GitHub.
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
@ -42,6 +45,4 @@ jobs:
|
|||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|
||||
uses: actions/deploy-pages@v4
|
||||
Loading…
Add table
Add a link
Reference in a new issue