Skip to content

Commit

Permalink
update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleinen committed Jun 15, 2024
1 parent 9dc61aa commit c2f3912
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 53 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: BUILD HUGO FOR PR
name: pull request

on:
pull_request:
Expand Down
42 changes: 0 additions & 42 deletions .github/workflows/deploy-development.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: DEPLOY PREVIEW
name: preview

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production-without-archive.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: D PROD WITHOUT ARCHIVE
name: production w/o archive

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: DEPLOY PRODUCTION
name: production

on:
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: DEPLOY STAGING
name: staging

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-tryout.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: DEPLOY TRYOUT
name: st tryout

on:
push:
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/gh-pages-fork.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build and deploy a fork on gh-pages
name: gh-pages in fork

on:
push:
Expand All @@ -15,9 +15,13 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
submodules: false # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod


- name: Get Theme
run: |
git submodule update --init themes/showtime-theme-2021
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
Expand All @@ -28,6 +32,7 @@ jobs:
run: |
hugo \
--environment production \
# --buildDrafts \
--baseURL 'https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}'
- name: Deploy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/hugo-versions.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: HUGO VERSIONS
name: hugo versions

on:
push:
Expand All @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
hugo-version: [0.111.3, 0.114.1, 0.115.1]
hugo-version: [0.115.1, 0.127.0]
hugo-environment: [staging, production]
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit c2f3912

Please sign in to comment.