Skip to content

Commit d057a04

Browse files
committed
updated to simpler new std. IA CI/CD workflow
1 parent 6e04d44 commit d057a04

File tree

1 file changed

+14
-21
lines changed

1 file changed

+14
-21
lines changed

.github/workflows/cicd.yml

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,20 @@
1-
name: CICD
21
on: push
32
jobs:
43
cicd:
5-
runs-on: ubuntu-latest
6-
permissions:
7-
contents: read
8-
packages: write
9-
id-token: write
10-
steps:
11-
# https://github.com/internetarchive/cicd
12-
- uses: internetarchive/cicd@v1
13-
with:
14-
BASE_DOMAIN: 'ux-fnf-misc.archive.org'
15-
NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }}
16-
REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17-
NOMAD_VAR_CHECK_PATH: '/iiif/documentation'
18-
NOMAD_VAR_CHECK_PROTOCOL: 'http'
19-
NOMAD_ADDR: 'https://ux-fnf-misc.archive.org/'
20-
NOMAD_VAR_COUNT_CANARIES: 0
21-
# NOMAD_VAR_CHECK_TIMEOUT: '10m'
22-
NOMAD_VAR_HOSTNAMES: '["iiif.ux-fnf-misc.archive.org"]'
23-
NOMAD_VAR_PORTS: '{8080 = "http", 8182 = "cantaloupe"}'
24-
NOMAD_VAR_FORCE_PULL: 'true'
4+
uses: internetarchive/cicd/.github/workflows/cicd.yml@main
5+
secrets:
6+
NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }}
7+
with:
8+
BASE_DOMAIN: 'ux-fnf-misc.archive.org'
9+
NOMAD_VAR_CHECK_PATH: '/iiif/documentation'
10+
NOMAD_VAR_CHECK_PROTOCOL: 'http'
11+
NOMAD_ADDR: 'https://ux-fnf-misc.archive.org/'
12+
NOMAD_VAR_COUNT_CANARIES: 0
13+
# NOMAD_VAR_CHECK_TIMEOUT: '10m'
14+
NOMAD_VAR_HOSTNAMES: '["iiif.ux-fnf-misc.archive.org"]'
15+
NOMAD_VAR_PORTS: '{8080 = "http", 8182 = "cantaloupe"}'
16+
NOMAD_VAR_FORCE_PULL: 'true'
17+
2518
deploy:
2619
environment:
2720
name: development

0 commit comments

Comments
 (0)