name: Deploy AutoLibrary Website on: push: branches: [main] jobs: deploy: runs-on: autolibrary-production 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