Skip to content
This repository has been archived by the owner on Nov 7, 2023. It is now read-only.

Commit

Permalink
ci(GITHUB): remove duplicate script
Browse files Browse the repository at this point in the history
  • Loading branch information
niall-byrne committed Jan 9, 2022
1 parent f3aff91 commit 797dc9f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 22 deletions.
15 changes: 0 additions & 15 deletions .github/scripts/setup.sh

This file was deleted.

14 changes: 7 additions & 7 deletions .github/workflows/self-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Documentation Test -- Setup Environment / Render Template
run: |
source ./template/.github/scripts/setup.sh
source ./template/{{cookiecutter.project_slug}}/.github/scripts/setup.sh
source ./template/.github/scripts/template.sh
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

- name: Molecule Lint -- Setup Environment / Render Template
run: |
source ./template/.github/scripts/setup.sh
source ./template/{{cookiecutter.project_slug}}/.github/scripts/setup.sh
source ./template/.github/scripts/template.sh
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
Expand Down Expand Up @@ -136,7 +136,7 @@ jobs:

- name: Push Test -- Setup Environment / Render Template
run: |
source ./template/.github/scripts/setup.sh
source ./template/{{cookiecutter.project_slug}}/.github/scripts/setup.sh
source ./template/.github/scripts/template.sh "GitHub Action" "[email protected]"
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
Expand Down Expand Up @@ -203,7 +203,7 @@ jobs:
- name: Create Release -- Setup Environment
if: contains(github.ref, '/tags/v')
run: |
source .github/scripts/setup.sh
source ./{{cookiecutter.project_slug}}/.github/scripts/setup.sh
echo "{}" > package.json
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:

- name: Security Test -- Setup Environment / Render Template
run: |
source ./template/.github/scripts/setup.sh
source ./template/{{cookiecutter.project_slug}}/.github/scripts/setup.sh
source ./template/.github/scripts/template.sh
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
Expand Down Expand Up @@ -310,7 +310,7 @@ jobs:

- name: Shellcheck -- Setup Environment / Render Template
run: |
source ./template/.github/scripts/setup.sh
source ./template/{{cookiecutter.project_slug}}/.github/scripts/setup.sh
source ./template/.github/scripts/template.sh
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
Expand Down Expand Up @@ -407,7 +407,7 @@ jobs:

- name: Workflow Lint -- Setup Environment / Render Template
run: |
source ./template/.github/scripts/setup.sh
source ./template/{{cookiecutter.project_slug}}/.github/scripts/setup.sh
source ./template/.github/scripts/template.sh
env:
WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }}
Expand Down

0 comments on commit 797dc9f

Please sign in to comment.