From 574fa462866e300f53f400b2ed34ab5c47761c35 Mon Sep 17 00:00:00 2001 From: Tracey Jaquith Date: Fri, 16 Feb 2024 18:48:57 -0800 Subject: [PATCH] use new CI/CD reusable workflow --- .github/workflows/cicd.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 4bfbe46..d45e6fa 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -1,13 +1,8 @@ -name: CICD on: push jobs: cicd: - runs-on: ubuntu-latest - permissions: { contents: read, packages: write, id-token: write } - steps: - - uses: internetarchive/cicd@v1 - with: - BASE_DOMAIN: 'dev.archive.org' - NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }} - REGISTRY_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NOMAD_VAR_HOSTNAMES: '["jpg241.dev.archive.org","jpg241.archive.org"]' + uses: internetarchive/cicd/.github/workflows/cicd.yml@main + secrets: + NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }} + with: + NOMAD_VAR_HOSTNAMES: '["jpg241.dev.archive.org","jpg241.archive.org"]'