fbtech/.gitea/workflows/cicd.yaml

24 lines
574 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
snap install hugo
- name: Build Hugo
run: |
ehugo build
- name: Sunc to AWS
run: |
which aws || true