https://github.com/kaiofelps/deploy-experiments
CI/CD workflow for deploying to SquareCloud using GitHub actions
https://github.com/kaiofelps/deploy-experiments
actions cd ci deploy workflow
Last synced: about 1 month ago
JSON representation
CI/CD workflow for deploying to SquareCloud using GitHub actions
- Host: GitHub
- URL: https://github.com/kaiofelps/deploy-experiments
- Owner: KaioFelps
- Created: 2024-12-22T04:35:54.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-29T22:55:28.000Z (about 1 year ago)
- Last Synced: 2025-07-13T15:49:20.793Z (11 months ago)
- Topics: actions, cd, ci, deploy, workflow
- Language: Rust
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deploy Experiment
This repository contains a dummy application. The goal is to use GitHub actions and workflows to achieve
an continuous-integration deployment with Square Cloud.
## Scripts
- **build.sh** - contains the basic script to build and pack only necessary files and send them to Square Cloud:
- the generated executable of the web app;
- the html template read by the web app;
- the `package.json` and `package-lock.json` files, to install the dependencies;
- the `dist/` directory with the built Inertia ssr server;
- the `public/` directory (recursively);
- the environment variable is set in the host (in this case, a .env file is placed directly in the host file explorer);
- **run.sh** - the script **Square Cloud** will run on start:
- install the node dependencies;
- sets permissions to execute the app executable;
- runs the executable.
`build.sh` is actually the procedure to be placed in the github workflow and is responsible for building and bundling the application.