Skip to content

Commit

Permalink
feat: push changelog to docs (#414)
Browse files Browse the repository at this point in the history
# Description

Auto push changelog to internal  doc site repo 


> Please include a summary of the change and which issue is fixed.
List any external dependencies that are required for this change.

- [ ] PR title and description are to the point and understandable
- [ ] I have performed a self-review of my own code'

Please select version type the purposed change:
- [ ] major
- [ ] minor
- [ ] patch
- [x] none <!--- Creates an empty changeset --> 

External Relations
- [ ] database migration


## Changeset

<!--- Write your changeset here -->

---------

Co-authored-by: Noggling <[email protected]>
  • Loading branch information
Noggling and Noggling authored Oct 19, 2023
1 parent 4819aa8 commit 02e5ffa
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changeset/pr-414-1564307833.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@

---
---
30 changes: 30 additions & 0 deletions .github/workflows/push-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Push Changelog

on:
push:
branches:
- main

jobs:
update-changelog:
name: Update changelog in docs
runs-on: ubuntu-latest
env:
commit-author: bot
author-email: [email protected]
commit-message: "docs: update changlog"
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Pushes Changelog File
uses: dmnemec/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: "CHANGELOG.md"
destination_repo: "equinor/fusion-project-portal-internal"
destination_folder: "/docs/documentation/"
user_email: ${{ env.author-email}}
user_name: ${{ env.commit-author}}
commit_message: ${{ env.commit-message}}

0 comments on commit 02e5ffa

Please sign in to comment.