feat: started to write deploy ci

This commit is contained in:
2025-09-23 15:26:53 +02:00
parent e4f5537d34
commit cef935dd44

View File

@@ -2,20 +2,23 @@
name: Gitea Actions Demo name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push] on:
push:
branches:
- main
jobs: jobs:
Explore-Gitea-Actions: Build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event." - 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 "🐧 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 }}." - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v4 uses: actions/checkout@v5
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: |
- run: echo "🖥️ The workflow is now ready to test your code on the runner." cd ${{ gitea.workspace }}
- name: List files in the repository - run: npm i
run: | - run: npm run build
ls ${{ gitea.workspace }} - run: ls build
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."