Skip to content

Commit

Permalink
Re-enabled spec copy w/ new token
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeHagar committed Oct 27, 2023
1 parent 4d893a8 commit 6d5b3f5
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/build-and-copy-plextv-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
run: |
swagger-cli bundle --dereference plextv/plextv-spec.yaml -t yaml -o plex-tv-spec-dereferenced.yaml
# - name: Pushes Dereferenced Specification File
# uses: dmnemec/copy_file_to_another_repo_action@main
# env:
# API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
# with:
# source_file: plex-tv-spec-dereferenced.yaml
# destination_repo: lukehagar/plex-docs
# destination_folder: static
# user_email: [email protected]
# user_name: lukehagar
# commit_message: Updating PlexTV Spec
- name: Pushes Dereferenced Specification File
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: plex-tv-spec-dereferenced.yaml
destination_repo: lukehagar/plex-docs
destination_folder: static
user_email: [email protected]
user_name: lukehagar
commit_message: Updating PlexTV Spec

- uses: stefanzweifel/git-auto-commit-action@v4
22 changes: 11 additions & 11 deletions .github/workflows/build-and-copy-pms-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
run: |
swagger-cli bundle --dereference pms/pms-spec.yaml -t yaml -o plex-media-server-spec-dereferenced.yaml
# - name: Pushes Dereferenced Specification File
# uses: dmnemec/copy_file_to_another_repo_action@main
# env:
# API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
# with:
# source_file: plex-media-server-spec-dereferenced.yaml
# destination_repo: lukehagar/plex-docs
# destination_folder: static
# user_email: [email protected]
# user_name: lukehagar
# commit_message: Updating PMS Spec
- name: Pushes Dereferenced Specification File
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source_file: plex-media-server-spec-dereferenced.yaml
destination_repo: lukehagar/plex-docs
destination_folder: static
user_email: [email protected]
user_name: lukehagar
commit_message: Updating PMS Spec

- uses: stefanzweifel/git-auto-commit-action@v4
1 change: 0 additions & 1 deletion .github/workflows/liblab-generate-sdks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- main
paths:
- plex-media-server-spec-dereferenced.yaml
# Add any other triggers you want here, such as a push to the spec file
workflow_call:
workflow_dispatch:

Expand Down

0 comments on commit 6d5b3f5

Please sign in to comment.