Skip to content

Commit

Permalink
Deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
supertanuki committed Dec 20, 2024
1 parent 5f1d45d commit d7e42cf
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 10 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,30 @@ on:
jobs:
build_deploy:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: ['20']

steps:
- uses: actions/checkout@master
- name: Build
uses: TartanLlama/actions-eleventy@master
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install packages
run: npm ci

- name: Run npm build
run: npm run build

- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: _site
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}

11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@
},
"repository": {
"type": "git",
"url": "git://github.com/11ty/eleventy-base-blog.git"
"url": "git://github.com/supertanuki/techologieWeb"
},
"author": {
"name": "Zach Leatherman",
"email": "zachleatherman@gmail.com",
"url": "https://zachleat.com/"
"name": "Richard Hanna",
"email": "contact@richardhanna.dev",
"url": "https://richardhanna.dev/"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/11ty/eleventy-base-blog/issues"
},
"homepage": "https://github.com/11ty/eleventy-base-blog#readme",
"devDependencies": {
"@11ty/eleventy": "^3.0.0",
Expand Down

0 comments on commit d7e42cf

Please sign in to comment.