Compare commits
2 commits
0b563b4697
...
b1e4f50c9c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b1e4f50c9c | ||
|
|
7e1a92449d |
1 changed files with 6 additions and 1 deletions
|
|
@ -10,13 +10,18 @@ jobs:
|
||||||
name: Deploy to Production
|
name: Deploy to Production
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: forgejo-ci-php:latest
|
image: forgejo-ci-node:latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
run: |
|
run: |
|
||||||
git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git .
|
git clone --depth 1 --branch main https://forge.studio-variable.com/${{ github.repository }}.git .
|
||||||
ls -la
|
ls -la
|
||||||
|
|
||||||
|
- name: Build Svelte app
|
||||||
|
run: |
|
||||||
|
npm ci
|
||||||
|
npm run build
|
||||||
|
|
||||||
- name: Deploy via FTP
|
- name: Deploy via FTP
|
||||||
env:
|
env:
|
||||||
USERNAME: ${{ secrets.USERNAME }}
|
USERNAME: ${{ secrets.USERNAME }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue