Skip to content

Commit

Permalink
changing orders steps
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuel-quix committed Jun 6, 2024
1 parent d280a2a commit 52297f9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,6 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Quix CLI
run: curl -fsSL https://github.com/quixio/quix-cli/raw/main/install.sh | bash

- name: Run Quix CLI to generate docs
run: quix docs ${{ github.workspace }}/docs/reference

- name: Update CHANGELOG.md
run: |
echo "## $(date +"%Y-%m-%d") - $GITHUB_REF_NAME" >> CHANGELOG.md
echo "Release notes for $GITHUB_REF_NAME" >> CHANGELOG.md
echo "Updated CHANGELOG.md with new release $GITHUB_REF_NAME"
- name: Configure Git
run: |
git config --global user.name 'github-actions[bot]'
Expand All @@ -47,6 +35,18 @@ jobs:
git add .
git commit -m "Update CHANGELOG and docs for release $GITHUB_REF_NAME"
- name: Install Quix CLI
run: curl -fsSL https://github.com/quixio/quix-cli/raw/main/install.sh | bash

- name: Run Quix CLI to generate docs
run: quix docs ${{ github.workspace }}/docs/reference

- name: Update CHANGELOG.md
run: |
echo "## $(date +"%Y-%m-%d") - $GITHUB_REF_NAME" >> CHANGELOG.md
echo "Release notes for $GITHUB_REF_NAME" >> CHANGELOG.md
echo "Updated CHANGELOG.md with new release $GITHUB_REF_NAME"
- name: Push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 52297f9

Please sign in to comment.