Skip to content

Commit

Permalink
The commits will continue until morale improves.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirStendec committed Aug 6, 2024
1 parent 4b72b75 commit d6d66c9
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,16 @@ jobs:
run: pnpm build

- name: Archive Build
uses: actions/upload-artifact@v3
id: artifact-upload-step
uses: actions/upload-artifact@v4
with:
name: dist
path: |
dist
- name: Artifact Info
run: echo 'Artifact ID is: ${{ steps.artifact-upload-step.outputs.artifact-id }}'

- name: Deploy (Clean)
uses: garygrossgarten/github-action-ssh@release
with:
Expand All @@ -46,10 +50,12 @@ jobs:
privateKey: ${{ secrets.SSH_PRIVATE_KEY }}

- name: Deploy (Copy)
uses: srueda99/scp-action@v12
run: scp
uses: appleboy/[email protected]
with:
origin: ./dist/*
destination: /home/ffz/addons
source: dist
target: addons
strip_components: 1
host: ${{ secrets.HOST }}
username: ${{ secrets.SSH_USERNAME }}
passphrase: ${{ secrets.SSH_PASSPHRASE }}
Expand Down

0 comments on commit d6d66c9

Please sign in to comment.