Files
post-self.ink/.gitea/workflows/deploy.yaml
Madison Rye Progress 098ee95e9d
Some checks failed
Deploy / deploy (push) Failing after 6s
Typo
2026-03-15 12:52:55 -07:00

35 lines
991 B
YAML

name: Deploy
run-name: ${{ gitea.actor }} is deploying ${{ gitea.repository }}
on:
push:
branches:
- main
jobs:
deploy:
runs-on: host
env:
DART_SASS_VERSION: 1.98.0
steps:
- name: Check out repo
uses: actions/checkout@v6
with:
submodules: 'true'
# - name: Install Hugo
# uses: peaceiris/actions-hugo@v3
# with:
# hugo-version: '0.157.0'
# extended: true
# - name: Install Dart Sass
# run: |
# curl -LJO https://github.com/sass/dart-sass/releases/download/${DART_SASS_VERSION}/dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \
# && tar -xf dart-sass-${DART_SASS_VERSION}-linux-x64.tar.gz \
# && cp -r dart-sass/* /usr/local/bin \
# && rm -rf dart-sass* \
# && sass --embedded --version
- name: Build site
run: hugo build --gc --minify --baseURL ${{ vars.BASE_URL }} --destination ${{ vars.DESTINATION }}