multi-scrobbler-now-playing/.gitea/workflows/deploy.yml

18 lines
594 B
YAML
Raw Normal View History

2025-01-13 23:04:15 +00:00
name: Deploy
on: [push]
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2025-01-13 23:13:20 +00:00
- uses: docker-practice/actions-setup-docker@master
2025-01-13 23:04:15 +00:00
- uses: actions/setup-node@v4
with:
node-version: '20.x'
- run: npm i
2025-01-13 23:05:56 +00:00
- run: echo ${{GITHuB_SHA}}
- run: echo ${{GITEA_SHA}}
2025-01-13 23:04:15 +00:00
- run: docker login -u riksolo -p ${{secrets.CONTAINER_REGISTRy_TOKEN}}
- run: docker build . -t git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest
- run: docker push . -t git.riksolo.com/riksolo/multi-scrobbler-now-playing:latest