From 84e6bdd01024d30c46d52f0c9c9c4805994b3dbe Mon Sep 17 00:00:00 2001 From: rae sharp <8883519+tr0njavolta@users.noreply.github.com> Date: Thu, 5 Dec 2024 14:01:11 -0500 Subject: [PATCH] Delete .github/build-push.yml --- .github/build-push.yml | 34 ---------------------------------- 1 file changed, 34 deletions(-) delete mode 100644 .github/build-push.yml diff --git a/.github/build-push.yml b/.github/build-push.yml deleted file mode 100644 index 690ec4b..0000000 --- a/.github/build-push.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Build and Deploy Hugo Site to S3 - -on: - push: - branches: - - master # Adjust the branch name as needed - -jobs: - deploy: - runs-on: ubuntu-latest - - steps: - # Checkout the repository - - name: Checkout code - uses: actions/checkout@v3 - - # Install Hugo - - name: Install Hugo - run: | - sudo apt-get update - sudo apt-get install -y hugo - - # Build the Hugo site - - name: Build Hugo site - run: hugo - - # Upload to S3 - - name: Deploy to S3 - env: - AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} - AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - AWS_REGION: your-s3-region - run: | - aws s3 sync public/ s3://madisonmansouri.com/ --delete \ No newline at end of file