Files
a13labs.infra/.github/actions/setup-env/action.yml
T
alexandre.pires 4e5346e2e0 feat: Enhance website deployment and build process
- Added rsync installation in setup-env action for file synchronization.
- Excluded playbook_websites.yml from ansible-apply-playbook workflow.
- Created a new workflow for building and releasing the Hugo website.
- Added submodule for Hugo theme in .gitmodules.
- Updated host_vars for production to include websites configuration.
- Introduced playbook_websites.yml for managing static files deployment.
- Implemented hugo_build script for building and archiving Hugo sites.
- Updated inventory to include a new web group for website deployment.
- Refactored Terraform configuration to support new website structure.
- Removed deprecated WordPress Terraform configuration.
- Added .gitignore files for websites and specific Hugo site.
- Created archetype and configuration files for the Hugo site.
- Added static assets including CV and images for the Hugo site.
- Integrated Hugo profile theme as a submodule for the website.
2025-04-27 14:03:56 +02:00

26 lines
730 B
YAML

name: Setup Environment
description: Prepare the environment for A13labs CI/CD pipelines
outputs:
changed_files:
description: The list of changed files in the current pull request
value: ${{ steps.get_changed_files.outputs.CHANGED_FILES }}
runs:
using: "composite"
steps:
- name: Get changed files
id: get_changed_files
shell: bash
run: |
# Get the list of changed files
CHANGED_FILES=$(git diff --name-only ${{ github.event.before }} ${{ github.sha }})
- name: Setup Sectool
uses: a13labs/setup-sectool@v1
- name: Install Python and required packages
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y python3-pip rsync