diff --git a/.github/workflows/naisjob-without-schedule.yaml b/.github/workflows/naisjob-without-schedule.yaml deleted file mode 100644 index e030048..0000000 --- a/.github/workflows/naisjob-without-schedule.yaml +++ /dev/null @@ -1,22 +0,0 @@ -name: Deploy Naisjob (no schedule) -on: - workflow_dispatch: - inputs: - cluster: - description: "Cluster to deploy to" - default: "dev-gcp" - required: false - type: string - -jobs: - deploy: - name: Deploy to NAIS - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - name: deploy to ${{ github.event.inputs.cluster }} - uses: nais/deploy/actions/deploy@v1 - env: - APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} - CLUSTER: ${{ github.event.inputs.cluster }} - RESOURCE: test-specs/naisjob-without-schedule.yaml diff --git a/.github/workflows/naisjob.yaml b/.github/workflows/naisjob.yaml deleted file mode 100644 index fd82df8..0000000 --- a/.github/workflows/naisjob.yaml +++ /dev/null @@ -1,28 +0,0 @@ -name: Deploy Naisjob /w schedule -on: - push: - branches: - - 'main' - paths: - - 'test-specs/naisjob.yaml' - - '.github/workflows/naisjob.yaml' - -jobs: - deploy: - name: Deploy to NAIS - runs-on: ubuntu-latest - strategy: - matrix: - cluster: - - dev-gcp - - prod-gcp - - dev-fss - - prod-fss - steps: - - uses: actions/checkout@v1 - - name: deploy to ${{ matrix.cluster }} - uses: nais/deploy/actions/deploy@v1 - env: - APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }} - CLUSTER: ${{ matrix.cluster }} - RESOURCE: test-specs/naisjob.yaml