Files
mziesel.nl/.gitea/workflows/deploy.yaml
T
mans 5a48737027
/ deploy (push) Failing after 8s
ci test
2026-01-24 17:05:24 +01:00

44 lines
941 B
YAML

on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
deploy:
runs-on: alpine-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Install Hugo and required tools
run: |
apk add --no-cache \
hugo \
aws-cli \
curl \
unzip \
bash \
gcompat \
libstdc++
- name: Get Hugo and aws-cli version
run: |
hugo version && aws --version
- name: Build website
run: |
make build
- name: Deploy website
run: |
make deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}