From dd8f4531e537840f23bf935899c19a910dfa747b Mon Sep 17 00:00:00 2001 From: Erick Ruiz de Chavez <953140+eruizdechavez@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:24:48 -0500 Subject: [PATCH] Replace actions with self-hosted Jenkins --- .github/workflows/build-deploy-prod.yml | 29 ------------------------- 1 file changed, 29 deletions(-) delete mode 100644 .github/workflows/build-deploy-prod.yml diff --git a/.github/workflows/build-deploy-prod.yml b/.github/workflows/build-deploy-prod.yml deleted file mode 100644 index f9035d1..0000000 --- a/.github/workflows/build-deploy-prod.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Build & Deployment - -on: - push: - branches: [main] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build Site - run: >- - docker run --rm - --workdir /app - -v ${{ github.workspace }}:/app - --entrypoint bash ruby:3.3 -c - "gem install bundler && bundle install && JEKYLL_ENV=production bundle exec jekyll build --config _config.yml && chmod -R 777 ./dist" - - name: Deploy Site - uses: milanmk/actions-file-deployer@master - with: - remote-protocol: "sftp" - remote-host: ${{ secrets.HOST }} - remote-port: ${{ secrets.PORT }} - remote-user: ${{ secrets.USERNAME }} - ssh-private-key: ${{ secrets.KEY }} - sync: full - local-path: ./dist/ - remote-path: /html/erick.is