Skip to content

Commit

Permalink
Update action and add release
Browse files Browse the repository at this point in the history
  • Loading branch information
Mgldvd committed Dec 2, 2024
1 parent ef9055e commit f89f6a4
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,6 @@ jobs:
- name: 🏅 Run WCAG generator script with Deno
run: deno run --allow-all tools/pipe-generateWcag.js

- name: 🏅 Commit and push changes
env:
GIT_AUTHOR_NAME: github-actions[bot]
GIT_AUTHOR_EMAIL: github-actions[bot]@github.com
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@github.com
git add .
git commit -m "Gogh 🤖"
git push
- name: 🏅 Count total files in 'themes' directory
id: count_files
run: |
Expand All @@ -66,9 +55,22 @@ jobs:
- name: 🏅 Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ env.total_files }}
release_name: Release ${{ env.total_files }}
body: "Release with ${env.total_files} files in the 'themes' directory."
release_name: Themes ${{ env.total_files }}
body: "Release with ${{ env.total_files }} files in the 'themes' directory."
draft: false
prerelease: false

- name: 🏅 Commit and push changes
env:
GIT_AUTHOR_NAME: github-actions[bot]
GIT_AUTHOR_EMAIL: github-actions[bot]@github.com
run: |
git config user.name github-actions[bot]
git config user.email github-actions[bot]@github.com
git add .
git commit -m "Gogh 🤖"
git push

0 comments on commit f89f6a4

Please sign in to comment.