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/
|
||||
|
||||
deploy-prod:
|
||||
if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref_name == 'main'
|
||||
needs:
|
||||
- build
|
||||
runs-on: docker
|
||||
container:
|
||||
image: code.forgejo.org/oci/node:22-bookworm
|
||||
|
@ -94,6 +97,7 @@ jobs:
|
|||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: website-build
|
||||
path: website-build
|
||||
|
||||
- name: Install packages
|
||||
run: |
|
||||
|
@ -109,6 +113,9 @@ jobs:
|
|||
ls -la website-build
|
||||
|
||||
deploy-staging:
|
||||
if: github.event_name == 'pull_request'
|
||||
needs:
|
||||
- build
|
||||
runs-on: docker
|
||||
container:
|
||||
image: code.forgejo.org/oci/node:22-bookworm
|
||||
|
@ -117,6 +124,7 @@ jobs:
|
|||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: website-build
|
||||
path: website-build
|
||||
|
||||
- name: Install packages
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue