Skip to content

Add workflow.

Add workflow. #1

Workflow file for this run

name: Publish (Development)
on:
push:
branches:
- main
jobs:
publish_to_backend:
name: "Publish to Backend"
runs-on: [self-hosted, Linux]
steps:
- name: checkout engine without LFS
uses: actions/checkout@v4
with:
lfs: true
- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Pull ProjectSystem docker image
run: docker pull ghcr.io/nginetechnologies/projectsystem-dev:latest
- name: Publish to backend
run: |
docker run -v ${{ github.workspace }}:/repo ghcr.io/nginetechnologies/projectsystem-dev:latest +register_backend_assets /repo/Assets.nassetdb