Skip to content

Commit

Permalink
update deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
supertanuki committed Dec 20, 2024
1 parent ba00f36 commit 229faac
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,16 @@ 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 }}

0 comments on commit 229faac

Please sign in to comment.