Invitaciones Digitales uses a fully automated deployment pipeline: every push to theDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/gus-16710/invitations/llms.txt
Use this file to discover all available pages before exploring further.
master branch triggers a GitHub Actions workflow that installs dependencies, runs next build, and uploads the resulting static files directly to the production web server over FTP. There is no manual step required after a code change is merged — the site is live within minutes.
Build process
The project uses a single build script defined inpackage.json:
package.json (scripts)
npm run build executes next build, which — because output: "export" is set in next.config.js — generates a fully static export instead of a server-rendered application. All output is written to the out/ directory:
index.html file inside its own directory (due to trailingSlash: true). The entire out/ folder is a portable, server-independent website.
GitHub Actions workflow
The deployment workflow is defined in.github/workflows/master.yml. It runs on every push to master, builds the site, and pushes the out/ directory to the FTP server in a single job.
.github/workflows/master.yml
Workflow steps explained
| Step | Action | What it does |
|---|---|---|
| Descargar código | actions/checkout@v4 | Checks out the full repository onto the runner |
| Instalar dependencias | npm ci | Installs exact dependency versions from package-lock.json |
| Build del sitio | npm run build | Runs next build and writes static files to out/ |
| Subir por FTP | SamKirkland/FTP-Deploy-Action@v4.3.5 | Syncs out/ to the root of ftp.unaideamas.com |
SamKirkland/FTP-Deploy-Action action performs an incremental sync — it only uploads files that have changed since the last deployment, keeping transfer times short.
The top of
master.yml contains a large commented-out block. This is a previous two-job version of the workflow that separated building and deploying into distinct jobs using actions/upload-artifact and actions/download-artifact to pass the out/ directory between them. It was replaced by the current single-job flow, which is simpler and avoids the overhead of artifact storage for a build this size. The commented block is kept as a reference in case a multi-job approach is needed in the future (e.g., to add a test job between build and deploy).Setting up GitHub Secrets
The FTP credentials are stored as encrypted GitHub Secrets and injected into the workflow at runtime. You must add them once per repository before the workflow can deploy successfully.Open your repository settings
Navigate to your GitHub repository, then click the Settings tab in the top navigation bar.
Add ftp_username
Click New repository secret. Set the name to
ftp_username and the value to your FTP account username for ftp.unaideamas.com. Click Add secret.Add ftp_password
Click New repository secret again. Set the name to
ftp_password and the value to your FTP account password. Click Add secret.Manual deployment
If you need to deploy without relying on GitHub Actions — for example, during local testing or when the CI runner is unavailable — you can build and upload the site manually.Build the static export
Run the build command from the project root:This generates the
out/ directory with all static assets.Upload via FTP
Connect to
ftp.unaideamas.com with your FTP client (e.g., FileZilla, Cyberduck) using your ftp_username and ftp_password credentials. Upload the contents of the out/ directory (not the folder itself) to the server root (/).