Skip to content

Commit

Permalink
Add Banner and update github workflow to push static folder on arc-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank0202 committed Aug 14, 2024
1 parent 62dcda1 commit 07b977a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/update-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,17 @@ jobs:
user_email: 'github-actions@github.com'
user_name: ${{ github.actor }}
commit_message: ${{ github.event.head_commit.message }}
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
API_TOKEN_GITHUB: ${{ secrets.ARC_DOCS_API_TOKEN_GITHUB }}
with:
source-directory: 'static'
destination-github-username: 'sourcefuse'
destination-repository-name: 'arc-docs'
target-directory: 'docs/arc-iac-docs/modules/terraform-aws-arc-cloudfront/static'
user-email: 'github-actions@github.com'
user-name: ${{ github.actor }}
target-branch: main
commit-message: ${{ github.event.head_commit.message }}
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![Module Structure](./static/banner.png)

# [terraform-aws-arc-cloudfront](https://github.com/sourcefuse/terraform-aws-arc-cloudfront)

<a href="https://github.com/sourcefuse/terraform-aws-arc-cloudfront/releases/latest"><img src="https://img.shields.io/github/release/sourcefuse/terraform-aws-arc-cloudfront.svg?style=for-the-badge" alt="Latest Release"/></a> <a href="https://github.com/sourcefuse/terraform-aws-arc-cloudfront/commits"><img src="https://img.shields.io/github/last-commit/sourcefuse/terraform-aws-arc-cloudfront.svg?style=for-the-badge" alt="Last Updated"/></a> ![Terraform](https://img.shields.io/badge/terraform-%235835CC.svg?style=for-the-badge&logo=terraform&logoColor=white) ![GitHub Actions](https://img.shields.io/badge/github%20actions-%232671E5.svg?style=for-the-badge&logo=githubactions&logoColor=white)
Expand Down
Binary file added static/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 07b977a

Please sign in to comment.