Files
TriggerFrontend/.gitea/workflows/deploy_to_prod.yaml
Sean Edmunds 9cc7575d9a
All checks were successful
Deploy to production / build (push) Successful in 25s
Testing
2026-02-06 11:46:53 -06:00

36 lines
1.0 KiB
YAML

name: Deploy to production
run-name: ${{ gitea.actor }} is deploying to production
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code
uses: https://gitea.com/ScMi1/checkout@v1
with:
repository: 'smedmunds/TriggerFrontend'
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: 'npm'
- name: Install dependencies
run: npm install
- name: Build
run: |
npm run build
hostname
echo ...
echo ${{job.container.id}}
echo ...
ls ${{ gitea.workspace }}
echo ...
ls /home