Move node install to the top
Some checks failed
Deploy to Web Server / deploy (push) Failing after 27s
Some checks failed
Deploy to Web Server / deploy (push) Failing after 27s
This commit is contained in:
parent
1a1f6ea39d
commit
a60d770461
1 changed files with 9 additions and 8 deletions
|
@ -12,14 +12,6 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: code.forgejo.org/oci/debian:latest
|
image: code.forgejo.org/oci/debian:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install SSH key
|
|
||||||
uses: https://github.com/shimataro/ssh-key-action@v2
|
|
||||||
with:
|
|
||||||
key: ${{ secrets.SSH_KEY }}
|
|
||||||
name: aria-coffee-deploy # optional
|
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
|
||||||
if_key_exists: fail
|
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: https://github.com/pnpm/action-setup@v4
|
uses: https://github.com/pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
|
@ -31,6 +23,15 @@ jobs:
|
||||||
node-version: 23.11.0
|
node-version: 23.11.0
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|
||||||
|
- name: Install SSH key
|
||||||
|
uses: https://github.com/shimataro/ssh-key-action@v2
|
||||||
|
with:
|
||||||
|
key: ${{ secrets.SSH_KEY }}
|
||||||
|
name: aria-coffee-deploy # optional
|
||||||
|
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||||
|
if_key_exists: fail
|
||||||
|
|
||||||
|
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue