Skip to content

Decrease minimum support versions on CI #57

Decrease minimum support versions on CI

Decrease minimum support versions on CI #57

name: Fresh to vercel
on:
push:
branches:
- master
jobs:
deployMasterToVercel:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.110.0'
extended: true
- name: Build with Hugo on master
working-directory: exampleSite
run: |
hugo \
--minify \
--baseURL https://hugo-fresh.vercel.app/
- name: Deploy to Vercel on master
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}}
vercel-project-name: hugo-fresh
vercel-args: '--prod'
working-directory: ./exampleSite/public