Skip to content

Commit

Permalink
Publish metadata.json to metadata/dist dir (#412)
Browse files Browse the repository at this point in the history
Publish metadata.json to metadata/dist dir
  • Loading branch information
sean1588 authored Oct 20, 2022
1 parent 2facf87 commit 956dbe9
Show file tree
Hide file tree
Showing 5 changed files with 2,835 additions and 16 deletions.
25 changes: 12 additions & 13 deletions .github/workflows/build-metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,22 @@ jobs:
runs-on: ubuntu-latest
name: Build
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Install Node
uses: actions/setup-node@v1
with:
node-version: 16.x

node-version: "16.x"

- name: Check out branch
uses: actions/checkout@v3
with:
token: ${{ secrets.PULUMI_BOT_TOKEN }}

- name: Build metadata
run: |
make metadata
- uses: marvinpinto/action-automatic-releases@latest
- name: Publish metadata.json file
uses: stefanzweifel/git-auto-commit-action@v4
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Metadata"
files: |
metadata.json
file_pattern: metadata/dist/metadata.json
commit_message: Update metadata.json
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ go.sum
!tests/go.sum
Pulumi.*.yaml
node_modules
metadata.json
Loading

0 comments on commit 956dbe9

Please sign in to comment.