Compare commits
1 commit
e133b43599
...
547aee3de3
Author | SHA1 | Date | |
---|---|---|---|
547aee3de3 |
1 changed files with 8 additions and 0 deletions
|
@ -86,6 +86,9 @@ jobs:
|
||||||
path: public/
|
path: public/
|
||||||
|
|
||||||
deploy-prod:
|
deploy-prod:
|
||||||
|
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref_name == 'main'
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: code.forgejo.org/oci/node:22-bookworm
|
image: code.forgejo.org/oci/node:22-bookworm
|
||||||
|
@ -94,6 +97,7 @@ jobs:
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: website-build
|
name: website-build
|
||||||
|
path: website-build
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
|
@ -109,6 +113,9 @@ jobs:
|
||||||
ls -la website-build
|
ls -la website-build
|
||||||
|
|
||||||
deploy-staging:
|
deploy-staging:
|
||||||
|
if: github.event_name == 'pull_request'
|
||||||
|
needs:
|
||||||
|
- build
|
||||||
runs-on: docker
|
runs-on: docker
|
||||||
container:
|
container:
|
||||||
image: code.forgejo.org/oci/node:22-bookworm
|
image: code.forgejo.org/oci/node:22-bookworm
|
||||||
|
@ -117,6 +124,7 @@ jobs:
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: website-build
|
name: website-build
|
||||||
|
path: website-build
|
||||||
|
|
||||||
- name: Install packages
|
- name: Install packages
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue