From 4371a1fa81522a05a9d6964b87fd8d75f43b0559 Mon Sep 17 00:00:00 2001 From: Kent Bull Date: Mon, 26 Aug 2024 15:22:29 -0600 Subject: [PATCH] ci: clarify workflow names --- .github/workflows/deploy-master.yaml | 6 ++---- .github/workflows/update-static-assets.yml | 7 ++----- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy-master.yaml b/.github/workflows/deploy-master.yaml index 891e4445..bd516a10 100644 --- a/.github/workflows/deploy-master.yaml +++ b/.github/workflows/deploy-master.yaml @@ -1,12 +1,10 @@ -name: Update GitHub Pages +name: Build latest, push to gh-pages on: - # Trigger the workflow on push to master/main branch push: branches: - master - main - # Allows manual triggering from the Actions tab workflow_dispatch: jobs: @@ -22,7 +20,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: '22' # Specify the Node.js version you use + node-version: '22' - name: Install dependencies run: yarn install --frozen-lockfile diff --git a/.github/workflows/update-static-assets.yml b/.github/workflows/update-static-assets.yml index 42bcc123..aedf5a87 100644 --- a/.github/workflows/update-static-assets.yml +++ b/.github/workflows/update-static-assets.yml @@ -1,12 +1,8 @@ -# Simple workflow for deploying static content to GitHub Pages -name: Deploy static content to Pages +name: Deploy gh-pages on: - # Runs on pushes targeting the gh-pages push: branches: ["gh-pages"] - - # Allows you to run this workflow manually from the Actions tab workflow_dispatch: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages @@ -37,6 +33,7 @@ jobs: uses: actions/upload-pages-artifact@v3 with: # Upload entire repository + # the ./site directory is used because the `deploy-master.yaml` workflow copies the `./build` output dir contents to the `site` directory path: './site' - name: Deploy to GitHub Pages id: deployment