ReFuel.StbImage/.gitea/workflows/build.yaml

27 lines
707 B
YAML
Raw Normal View History

2024-03-19 20:27:21 +01:00
name: Build
run-name: Building docker container.
on:
2024-03-19 20:29:31 +01:00
workflow_dispatch:
2024-03-19 20:27:21 +01:00
push:
branches: stable
jobs:
build:
runs-on: ubuntu-latest
env:
QUIK_API_KEY: "${{secrets.QUIK_API_KEY}}"
steps:
- name: Update Package Repository.
run: apt update -y
- name: Gather dependencies.
run: apt install -y docker.io docker-compose
- name: Check repository out.
uses: actions/checkout@v3
2024-03-19 20:46:38 +01:00
- name: "Where are my files????"
run: ls -la
2024-03-19 20:27:21 +01:00
- name: Run Build Script
run: docker-compose run build
2024-03-19 20:43:32 +01:00
working-directory: ${{ gitea.workspace }}
2024-03-19 20:27:21 +01:00
- name: Upload NuGet Package
2024-03-19 20:43:32 +01:00
run: "bash ${{ gitea.workspace }}/publish.sh"