Files
bpi-stock-price-scraper/.gitea/workflows/sync-prices.yaml
T
Lino Silva 4006719950
Build and publish / build (push) Failing after 11s
updated image
2026-03-20 12:16:08 +00:00

31 lines
915 B
YAML

name: Build and publish
run-name: Build docker image and publish to registry
on:
schedule:
- cron: '0 10,22 * * *'
push:
branches:
- 'main'
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/catthehacker/ubuntu:act-latest
steps:
- run: apt update
- run: apt install -y libgconf-2-4 libatk1.0-0 libatk-bridge2.0-0 libasound2 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm-dev libnss3-dev libxss-dev
name: Prepare environment
- uses: https://github.com/actions/checkout@v4
- name: Use Node.js
uses: https://github.com/actions/setup-node@v3
with:
node-version: '20.18'
- run: npm i
name: Install dependencies
- run: node index.mjs
name: Run app
env:
GHOSTFOLIO_SECURITY_TOKEN: ${{ secrets.GHOSTFOLIO_SECURITY_TOKEN }}
GHOSTFOLIO_HOST: ${{ secrets.GHOSTFOLIO_HOST }}