Add clover and mirador #64
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CICD | |
on: push | |
jobs: | |
cicd: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
id-token: write | |
steps: | |
# https://github.com/internetarchive/cicd | |
- uses: internetarchive/cicd@v1 | |
with: | |
BASE_DOMAIN: 'ux-fnf-misc.archive.org' | |
NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }} | |
REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NOMAD_VAR_CHECK_PATH: '/iiif/documentation' | |
NOMAD_VAR_CHECK_PROTOCOL: 'http' | |
NOMAD_ADDR: 'https://ux-fnf-misc.archive.org/' | |
NOMAD_VAR_COUNT_CANARIES: 0 | |
# NOMAD_VAR_CHECK_TIMEOUT: '10m' | |
NOMAD_VAR_HOSTNAMES: '["iiif.ux-fnf-misc.archive.org"]' | |
NOMAD_VAR_PORTS: '{8080 = "http"}' | |
NOMAD_VAR_FORCE_PULL: 'true' | |
deploy: | |
environment: | |
name: development | |
url: https://archivelabs-iiif-archivelab-org-${{ env.BRANCH_NAME }}.ux-fnf-misc.archive.org | |
runs-on: ubuntu-latest | |
needs: cicd | |
steps: | |
- name: Checkout # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | |
uses: actions/checkout@v2 | |
- name: Export BRANCH_NAME # store branch name in $BRANCH_NAME | |
run: echo BRANCH_NAME=`git rev-parse --abbrev-ref HEAD` >> $GITHUB_ENV |