Updated github-pages-deploy-action

+ cleanup
This commit is contained in:
Hendrik Eeckhaut
2023-07-21 16:30:43 +02:00
parent fcb35b845c
commit 6473254b5e
2 changed files with 4 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ on:
push:
branches: [ master ]
pull_request:
types: closed
types: [closed]
branches:
- master
@@ -26,7 +26,7 @@ jobs:
npm run prerender
- name: Deploy to gh-pages branch
uses: JamesIves/github-pages-deploy-action@v4.3.3
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages
folder: build

View File

@@ -10,10 +10,9 @@ on:
workflow_dispatch:
jobs:
build-and-deploy-dev:
permissions:
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -29,8 +28,7 @@ jobs:
npm run prerender
- name: Deploy to gh-pages-dev branch
uses: JamesIves/github-pages-deploy-action@v4.3.3
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
branch: gh-pages-dev
folder: build