Skip to content

Commit

Permalink
fix yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
matus-vacula committed Oct 6, 2024
1 parent f4c5886 commit 41a613b
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ name: Deploy
on: [push]
jobs:
deploy:
runs-on:
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build frontend
run: npm run build -w packages/frontend
- name: Setup ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Deploy frontend code
run: scp -r packages/frontend/dist [email protected]/html
runs-on: "ubuntu-latest"
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Setup node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
- name: Build frontend
run: npm run build -w packages/frontend
- name: Setup ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Deploy frontend code
run: scp -r packages/frontend/dist [email protected]/html

0 comments on commit 41a613b

Please sign in to comment.