Skip to content

Actions update:

Actions update: #5

Workflow file for this run

name: Deploy

Check failure on line 1 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: deploy
on:
workflow_dispatch:
inputs:
branch_hash:
description: Branch hash (default) or revision to deploy
environments:
description: The environment to deploy to
type: choice
default: testing
options:
- testing
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Deploy to ${{inputs.environments}}
uses: hathitrust/github_actions/deploy@v1
with:
image: ghcr.io/hathitrust/holdings-mariadb:${{ inputs.branch_hash || github.sha}}
file: environments/holdings-mariadb/${{inputs.environments}}/holdings-client-image.txt
CONFIG_REPO_RW_APP_ID: ${{ vars.CONFIG_REPO_RW_APP_ID }}
CONFIG_REPO_FULL_NAME: ${{ vars.CONFIG_REPO_FULL_NAME }}
CONFIG_REPO_RW_KEY: ${{secrets.CONFIG_REPO_RW_KEY}}