From 61199b7c9e416da5ce274bb8fb9ce42fe74b58f9 Mon Sep 17 00:00:00 2001 From: supertanuki Date: Fri, 20 Dec 2024 08:04:11 +0100 Subject: [PATCH] update deploy action --- .github/workflows/deploy.yml | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 845c566c..a905ee32 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -6,17 +6,19 @@ on: - master jobs: - deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: Build - uses: TartanLlama/actions-eleventy@master - with: - install_dependencies: true - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - publish_dir: _site - publish_branch: prod - github_token: ${{ secrets.GITHUB_TOKEN }} + build_deploy: + runs-on: self-hosted + steps: + - + name: Checkout last commit of repository + uses: actions/checkout@v3 + - + name: Install 11ty and build website + uses: extrawitz/11ty-dockerless-build@v1 + - + name: Deploy + uses: peaceiris/actions-gh-pages@v3 + with: + publish_dir: _site + publish_branch: prod + github_token: ${{ secrets.GITHUB_TOKEN }}