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 61199b7
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 61199b7

Please sign in to comment.