diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..4ab41fa --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,15 @@ +name: Deploy +on: [push] + +jobs: + Deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v4 + with: + node-version: '20.x' + - run: npm i + - 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 \ No newline at end of file