Skip to content

Commit

Permalink
update deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
platinummonkey committed Nov 23, 2024
1 parent 54680d3 commit 67f007b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defaults:

# Environment variables available to all jobs and steps in this workflow
env:
NODE_VERSION: "18.15.0"
NODE_VERSION: "22.11.0"
TINA_CLIENT_ID: ${{ vars.TINA_CLIENT_ID }}
TINA_TOKEN: ${{ vars.TINA_TOKEN }}

Expand All @@ -36,7 +36,7 @@ jobs:
build:
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.115.4
HUGO_VERSION: 0.139.0
steps:
- name: Install Hugo CLI
run: |
Expand All @@ -45,17 +45,17 @@ jobs:
- name: Install Dart Sass
run: sudo snap install dart-sass
- name: Set Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
uses: actions/configure-pages@v5
- name: Install Node.js dependencies
run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true"
- name: Build with Hugo
Expand All @@ -66,7 +66,7 @@ jobs:
CNAME: 2025.texaslinuxfest.org
run: npm run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v3
with:
path: ./public

Expand All @@ -80,4 +80,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
uses: actions/deploy-pages@v4

0 comments on commit 67f007b

Please sign in to comment.