New-site/.gitea/workflows/gitea-actions.yml
p.belezov 085d2ce227
Some checks are pending
Gitea Actions / Explore-Gitea-Actions (push) Waiting to run
АЫАЫАЫАЫААЫАЫАЫА
2024-03-12 15:58:13 +08:00

28 lines
918 B
YAML

name: Gitea Actions
run-name: ${{ gitea.actor }} is testing out Gitea Actions ??
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu
steps:
- run: cd /home/resume/
- run: echo "Stopping gitea service..."
- run: systemctl stop gitea
- run: echo "Gitea service stopped"
- run: echo "Pulling repo..."
- name: Check out repository code
uses: actions/checkout@v3
- run: echo "Repo pulled"
- run: echo "Updating npm dependencies..."
- run: npm i
- run: echo "NPM dependencies updated"
- run: echo "Updating composer dependencies..."
- run: composer install
- run: echo "Composer dependencies updated"
- run: echo "Building frontend..."
- run: npm run build
- run: echo "Frontend built"
- run: echo "Starting Gitea service"
- run: systemctl start gitea
- run: echo "Gitea service started"