Skip to content

Commit

Permalink
fixing 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kilamaelie committed Feb 12, 2024
1 parent a2182dd commit 166185a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ jobs:
run: |
docker-compose -f docker-compose.ci.yml build 2>error >&1
- name: Push images
run: |
docker push ${{ env.WEBSITE_IMAGE }}
docker push ${{ env.NGINX_IMAGE }}
- name: create an issue
if: ${{ failure() }}
run: |
Expand All @@ -56,10 +51,15 @@ jobs:
--header 'content-type: application/json' \
--data '{
"title": "Automated issue for a commit: ${{ github.job }}",
"body": "## Description\n\nThis issue was automatically created by the GitHub Action.\n\nThe Job **`${{github.job}}`** of the workflow run **`${{github.run_number}}`** failed with the following error:\n\n`'"$ERROR"'`\n\n## Run details\n\n- Workflow: `${{ github.workflow }}`\n\n- The actor of the run: `${{ github.triggering_actor }}`\n\n- The commit hash was: _${{ github.sha }}_\n\nKindly fix it in the shortest time possible.\n\nThank you."
"body": "## Description\n\n This issue was automatically created by the GitHub Action.\n\nThe Job **`${{github.job}}`** of the workflow run **`${{github.run_number}}`** failed with the following error:\n\n`'"$ERROR"'`\n\n## Run details\n\n- Workflow: `${{ github.workflow }}`\n\n- The actor of the run: `${{ github.triggering_actor }}`\n\n- The commit hash was: _${{ github.sha }}_\n\nKindly fix it in the shortest time possible.\n\nThank you."
}' \
--fail
- name: Push images
run: |
docker push ${{ env.WEBSITE_IMAGE }}
docker push ${{ env.NGINX_IMAGE }}
checking-secrets:
name: Checking secrets
runs-on: ubuntu-latest
Expand Down

0 comments on commit 166185a

Please sign in to comment.