From 8ea5c870be803c2e3666121dec46a6a9730d9e8e Mon Sep 17 00:00:00 2001 From: Alexander Lyall Date: Sun, 14 Dec 2025 16:18:42 +0000 Subject: [PATCH] revert 268a82f17c00792b8e678b5fb93383ae36200dfc revert ci(deploy): add Gitea Actions workflow for site publishing - Add publish workflow to deploy main branch via SFTP - Configure workflow dispatch and push-to-main triggers - Use repository variables and secrets for SSH credentials - Update README logo markup for consistent sizing Signed-off-by: Alexander Davis --- .gitea/workflows/publish.yaml | 32 -------------------------------- README.md | 2 +- 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 .gitea/workflows/publish.yaml diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml deleted file mode 100644 index 5738b1c..0000000 --- a/.gitea/workflows/publish.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: Publish to Server -run-name: ${{ gitea.actor }} is publishing your site using Gitea Actions 🚀 - -on: - workflow_dispatch: - # Trigger the workflow on push - push: - branches: [main] - -# Authenticate to the the server via ssh -# and run our deployment script (sftp upload) -jobs: - deploy: - name: Deploy - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: SFTP upload - uses: Dylan700/sftp-upload-action@latest - with: - server: ${{ vars.SSH_HOST }} - username: ${{ vars.SSH_USERNAME }} - password: ${{ secrets.KEY_PASSWORD }} - port: 22 - uploads: | - ${{ vars.GIT_FOLDER }} => ${{ vars.SSH_FOLDER }} - delete: 'false' - ignore: | - *.git - */**/*git* \ No newline at end of file diff --git a/README.md b/README.md index 5766d3f..52da950 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Formerly CS:Box - An evolution of Bit:Box to incorporate different elements of the UK Computing Curriculum Available at [www.computingbox.co.uk](https://www.computingbox.co.uk) - +![Computing:Box Logo](/assets/img/ComputingBox-Logo.png "Computing:Box Logo") ## Upcoming Features ### Original Bit:Box Features (October 2024)