Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/sync-release-assets.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
name: Sync Release Assets
permissions:
contents: read
permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -12,12 +11,6 @@ env:
on:
workflow_dispatch:
pull_request:
branches:
- master
types:
- opened
- reopened
- synchronize
push:
branches:
- master
Expand All @@ -26,6 +19,8 @@ on:

jobs:
sync-assets:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand Down Expand Up @@ -89,7 +84,7 @@ jobs:
uses: actions-js/push@5a7cbd780d82c0c937b5977586e641b2fd94acc5 # v1.5
with:
author_email: ${{ secrets.GH_BOT_EMAIL }}
author_name: ${{ secrets.GH_BOT_NAME }}
author_name: ${{ vars.GH_BOT_NAME }}
branch: dist
directory: dist
github_token: ${{ secrets.GH_BOT_TOKEN }}
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/update-pages.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
---
name: Build GH-Pages
permissions:
contents: read
permissions: {}

on:
pull_request:
branches:
- master
types:
- opened
- synchronize
- reopened
push:
branches:
- master
Expand All @@ -22,6 +15,8 @@ concurrency:

jobs:
prep:
permissions:
contents: read
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -38,10 +33,12 @@ jobs:

call-jekyll-build:
needs: prep
permissions:
contents: read
uses: LizardByte/LizardByte.github.io/.github/workflows/jekyll-build.yml@master
secrets:
GH_BOT_EMAIL: ${{ secrets.GH_BOT_EMAIL }}
GH_BOT_NAME: ${{ secrets.GH_BOT_NAME }}
GH_BOT_NAME: ${{ vars.GH_BOT_NAME }}
GH_BOT_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
with:
clean_gh_pages: true
Expand Down