https://github.com/beshkenadze/fdp-demo
Here the template for self-hosting static sites.
https://github.com/beshkenadze/fdp-demo
deployment fdp static-site
Last synced: 3 months ago
JSON representation
Here the template for self-hosting static sites.
- Host: GitHub
- URL: https://github.com/beshkenadze/fdp-demo
- Owner: beshkenadze
- Created: 2020-11-09T19:13:10.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2020-11-09T20:38:57.000Z (over 5 years ago)
- Last Synced: 2026-02-24T19:28:28.632Z (4 months ago)
- Topics: deployment, fdp, static-site
- Language: Dockerfile
- Homepage: http://fdp-demo.beshkenadze.com/
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# fdp-demo
Here is the template for self-hosting static sites.
## Setup the repository
1. Create the github token, see "[Creating a personal access token for the command line.](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token)"
2. Create the repo secrets, see "[Creating encrypted secrets for a repository.](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository)"
### Secrets for the GitHub.Actions
```
CR_PAT={GITHUB_TOKEN}
SERVER_VERSION=latest
PACKAGE_MANAGER=yarn
LOCK_FILE=yarn.lock
BUILD_CMD=build
INSTALL_CMD=install
```
### ENVS for launch
```
APP_NAME={YOUR_APP_NAME}
APP_HOST={YOUR_APP_HOST}
APP_PORT={YOUR_APP_PORT}
REPOSITORY_OWNER={APP_OWNER}
REPOSITORY_TAG=latest
# DEFAULTS
APP_UPDATE_INTERVAL=180
SERVER_VERSION=latest
PACKAGE_MANAGER=yarn
LOCK_FILE=yarn.lock
BUILD_CMD=build
INSTALL_CMD=install
```