Compare commits

..

1 commit

Author SHA1 Message Date
547aee3de3
wip: ci: factor out deployment into separate steps for better org.
All checks were successful
/ pipeline-info (pull_request) Successful in 1s
/ build (pull_request) Successful in 40s
/ deploy-prod (pull_request) Has been skipped
/ deploy-staging (pull_request) Successful in 12s
2025-07-26 16:31:32 +02:00

View file

@ -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: |