mirror of
https://github.com/tlsnotary/website.git
synced 2026-01-08 14:33:54 -05:00
Updated github-pages-deploy-action
+ cleanup
This commit is contained in:
4
.github/workflows/build_deploy_master.yml
vendored
4
.github/workflows/build_deploy_master.yml
vendored
@@ -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
|
||||
|
||||
6
.github/workflows/build_dev.yml
vendored
6
.github/workflows/build_dev.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user