Skip to content

Commit

Permalink
workflow 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ORIGIN INVESTMENTS authored and ORIGIN INVESTMENTS committed Mar 14, 2024
1 parent 4a157f0 commit 9acc34f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,20 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # Updated to v3
- name: Setup Node.js 20
uses: actions/setup-node@v3
with:
node-version: "20"

- uses: actions/checkout@v2

- name: Build Eleventy site
run: |
npm install
npx eleventy
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4 # Updated to v4
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public

0 comments on commit 9acc34f

Please sign in to comment.