Files
KenanZhu 9065a0d3cf
Build and test website container / build (push) Successful in 11m33s
Build and smoke-test AutoLibrary as a container
2026-11-04 10:45:57 +08:00

26 lines
667 B
YAML

name: Deploy native AutoLibrary service
on:
workflow_dispatch:
jobs:
deploy:
runs-on: autolibrary-native-deploy
steps:
- name: Check out the pushed commit
uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
github-server-url: ${{ gitea.server_url }}
ref: ${{ gitea.sha }}
- name: Build and test
shell: bash
run: bash deploy/build.sh
- name: Deploy and verify
shell: bash
env:
RELEASE_SHA: ${{ gitea.sha }}
AUTOLIBRARY_PORT: ${{ vars.AUTOLIBRARY_PORT || '3003' }}
run: bash deploy/publish.sh