Skip to content

Commit

Permalink
Updating github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
njt1982 committed Jun 23, 2024
1 parent 53b23a7 commit 8815ad1
Showing 1 changed file with 9 additions and 12 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,30 +11,27 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup NodeJS
uses: actions/setup-node@v4

- name: Install
uses: borales/[email protected]
with:
cmd: install
run: npm ci

- name: Build App
uses: borales/[email protected]
with:
cmd: build
run: npm run build

- name: Build Sitemap
uses: borales/[email protected]
with:
cmd: sitemap
run: npm run sitemap

- name: Install SSH Client
uses: webfactory/ssh-agent@v0.5.4
uses: webfactory/ssh-agent@v0.9.0
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.0
uses: JamesIves/github-pages-deploy-action@v4
with:
ssh-key: true
folder: 'dist'
Expand Down

0 comments on commit 8815ad1

Please sign in to comment.