Skip to content

max width on heading text #229

max width on heading text

max width on heading text #229

name: deploy-nye-julianjark.no
on:
push:
branches:
- "main"
defaults:
run:
working-directory: apps/nye-julianjark.no
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v4
with:
context: "{{defaultContext}}:apps/nye-julianjark.no"
platforms: linux/amd64
push: true
tags: ghcr.io/${{ github.repository_owner }}/nye-julianjark.no:latest
- name: Deploy to unRaid server
run: bash ./scripts/updateLatestDockerOnUnraid.bash
env:
CONTAINER_NAME: nye-julianjark.no
UNRAID_HTTP_USERNAME: ${{ secrets.UNRAID_HTTP_USERNAME }}
UNRAID_HTTP_PASSWORD: ${{ secrets.UNRAID_HTTP_PASSWORD }}
UNRAID_USERNAME: ${{ secrets.UNRAID_USERNAME }}
UNRAID_PASSWORD: ${{ secrets.UNRAID_PASSWORD }}