Skip to content

Commit

Permalink
use simpler new reusable GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Feb 17, 2024
1 parent 62524e0 commit 7996a2a
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
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: '["emularity-bios"]'
NOMAD_VAR_COUNT: 1
NOMAD_VAR_PORTS: '{ 80 = "http" }'
uses: internetarchive/cicd/.github/workflows/cicd.yml@main
with:
NOMAD_VAR_HOSTNAMES: '["emularity-bios"]'
NOMAD_VAR_PORTS: '{ 80 = "http" }'
secrets:
NOMAD_TOKEN: ${{ secrets.NOMAD_TOKEN }}

0 comments on commit 7996a2a

Please sign in to comment.