This repository includes automated FTP deployment of index.html to spintheweb.org when changes are pushed to the main branch.
To enable FTP deployment, you need to configure the following secrets in your GitHub repository:
- Go to your repository on GitHub
- Click on Settings → Secrets and variables → Actions
- Click New repository secret and add:
- Name:
FTP_USERNAME - Value: Your FTP username for spintheweb.org
- Name:
FTP_PASSWORD - Value: Your FTP password for spintheweb.org
The workflow (.github/workflows/deploy.yml) will:
- Trigger: Only when
index.htmlis modified and pushed to themainbranch - Check: Verifies that
index.htmlactually changed in the commit - Deploy: Uses FTP to upload only the
index.htmlfile to the root directory of spintheweb.org
- FTP credentials are stored securely as GitHub repository secrets
- Only the
index.htmlfile is deployed, other files are excluded - The workflow only runs on the main branch
If you need to deploy manually, you can also trigger the workflow by pushing a change to index.html or running the workflow manually from the Actions tab in GitHub.