fbtech/.gitea/workflows/cicd.yaml

24 lines
575 B
YAML

name: CICD
run-name: ${{ gitea.actor }} triggered CICD
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: my_custom_label
container: node:22
steps:
- uses: actions/checkout@v3 # Checks out your repository
- name: Install Hugo
run: |
whoami
which hugo || true
apt update
cat /etc/os-release
apt install -y ca-certificates curl gnupg
apt install -y hugo
- name: Build Hugo
run: |
hugo build
- name: Sync to AWS
run: |
which aws || true