Skip to content

Commit

Permalink
[SKIP-GH-PAGES] fix cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
sevenzing committed Sep 5, 2024
1 parent 805037e commit 695e1b7
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
if: "contains(github.event.commits[0].message, '[CREATE-SWAGGER]')"
env:
GITHUB_TOKEN: ${{ secrets.BLOCKSCOUT_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.BLOCKSCOUT_BOT_TOKEN }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
Expand All @@ -18,11 +19,6 @@ jobs:
# fetch the last 2 commits to check difference
fetch-depth: 2

- name: Set git identity to blockscout-bot
run: |
git config user.name "blockscout-bot"
git config user.email "[email protected]" # replace with the correct email if needed
- name: Check commit message
id: check-commit
run: |
Expand Down Expand Up @@ -62,7 +58,6 @@ jobs:
- name: Commit and push changes
run: |
echo $GITHUB_TOKEN
git add .
git commit -m "[BOT] Add index.html for new swagger.yaml files"
git push

0 comments on commit 695e1b7

Please sign in to comment.