Compare commits
1 commit
547aee3de3
...
ba9faf4700
Author | SHA1 | Date | |
---|---|---|---|
ba9faf4700 |
1 changed files with 26 additions and 27 deletions
|
@ -85,33 +85,6 @@ jobs:
|
|||
name: website-build
|
||||
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
|
||||
steps:
|
||||
- name: Download the website build artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: website-build
|
||||
path: website-build
|
||||
|
||||
- name: Install packages
|
||||
run: |
|
||||
apt update
|
||||
# For uploading.
|
||||
apt install -y rsync
|
||||
|
||||
|
||||
- name: debugging
|
||||
run: |
|
||||
ls -la
|
||||
echo "website-build:"
|
||||
ls -la website-build
|
||||
|
||||
deploy-staging:
|
||||
if: github.event_name == 'pull_request'
|
||||
needs:
|
||||
|
@ -131,3 +104,29 @@ jobs:
|
|||
apt update
|
||||
# For uploading.
|
||||
apt install -y rsync
|
||||
|
||||
- name: debugging
|
||||
run: |
|
||||
ls -la
|
||||
echo "website-build:"
|
||||
ls -la website-build
|
||||
|
||||
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
|
||||
steps:
|
||||
- name: Download the website build artifact
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: website-build
|
||||
path: website-build
|
||||
|
||||
- name: Install packages
|
||||
run: |
|
||||
apt update
|
||||
# For uploading.
|
||||
apt install -y rsync
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue