Merge pull request 'staging' (#31) from staging into create_form

Reviewed-on: #31
This commit is contained in:
Esteban Paz 2026-07-24 18:28:28 +00:00
commit ef0e39ffff
2 changed files with 5 additions and 5 deletions

View File

@ -13,20 +13,20 @@ jobs:
- name: Set target dir & PM2 env - name: Set target dir & PM2 env
run: | run: |
if [ "${{ gitea.ref_name }}" = "production" ]; then if [ "${{ gitea.ref_name }}" = "production" ]; then
echo "TARGET_DIR=/var/www/cdrdpyj" >> $GITHUB_ENV echo "TARGET_DIR=/var/www/node/cdrdpyj" >> $GITHUB_ENV
echo "PM2_ENV=production" >> $GITHUB_ENV echo "PM2_ENV=production" >> $GITHUB_ENV
else else
echo "TARGET_DIR=/var/www/dev.cdrdjyp" >> $GITHUB_ENV echo "TARGET_DIR=/var/www/node/dev.cdrdjyp/cdrdpyj" >> $GITHUB_ENV
echo "PM2_ENV=staging" >> $GITHUB_ENV echo "PM2_ENV=staging" >> $GITHUB_ENV
fi fi
- uses: pnpm/action-setup@v4 - uses: pnpm/action-setup@v4
with: with:
version: 9 version: 11
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: '20' node-version: '22'
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
- run: pnpm run build - run: pnpm run build

View File

@ -44,4 +44,4 @@ Feel free to check [our documentation](https://docs.astro.build) or jump into ou
Adding gitea/workflows/deploy.yaml to test github ci/cd runner Adding gitea/workflows/deploy.yaml to test github ci/cd runner
Testing runner change spmeting Testing runner change spmeting v5